mirror of
https://github.com/fmtlib/fmt.git
synced 2025-04-16 05:42:19 +00:00
Bazel support (#3406)
* Bazel support: Remove not needed .bazelrc file * Bump tested Bazel version * Apply buildifier to format Bazel build files * Add note about Bzlmod
This commit is contained in:
parent
f8c9fabd94
commit
5bcf0d7f97
@ -1 +0,0 @@
|
|||||||
build --symlink_prefix=/ # Out of source build
|
|
@ -1 +1 @@
|
|||||||
5.1.1
|
6.1.2
|
||||||
|
@ -11,8 +11,8 @@ cc_library(
|
|||||||
"include/fmt/color.h",
|
"include/fmt/color.h",
|
||||||
"include/fmt/compile.h",
|
"include/fmt/compile.h",
|
||||||
"include/fmt/core.h",
|
"include/fmt/core.h",
|
||||||
"include/fmt/format-inl.h",
|
|
||||||
"include/fmt/format.h",
|
"include/fmt/format.h",
|
||||||
|
"include/fmt/format-inl.h",
|
||||||
"include/fmt/os.h",
|
"include/fmt/os.h",
|
||||||
"include/fmt/ostream.h",
|
"include/fmt/ostream.h",
|
||||||
"include/fmt/printf.h",
|
"include/fmt/printf.h",
|
||||||
@ -21,7 +21,7 @@ cc_library(
|
|||||||
"include/fmt/xchar.h",
|
"include/fmt/xchar.h",
|
||||||
],
|
],
|
||||||
includes = [
|
includes = [
|
||||||
"include",
|
"include",
|
||||||
],
|
],
|
||||||
strip_include_prefix = "include",
|
strip_include_prefix = "include",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
@ -71,3 +71,6 @@ The *BUILD* file defines a binary named `Demo` that has a dependency to {fmt}.
|
|||||||
|
|
||||||
To execute the binary you can run `bazel run //:Demo`.
|
To execute the binary you can run `bazel run //:Demo`.
|
||||||
|
|
||||||
|
# Using Bzlmod
|
||||||
|
|
||||||
|
The [Bazel Central Registry](https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/fmt) also provides support for {fmt}.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user