mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-25 11:40:06 +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/compile.h",
|
||||
"include/fmt/core.h",
|
||||
"include/fmt/format-inl.h",
|
||||
"include/fmt/format.h",
|
||||
"include/fmt/format-inl.h",
|
||||
"include/fmt/os.h",
|
||||
"include/fmt/ostream.h",
|
||||
"include/fmt/printf.h",
|
||||
@ -21,7 +21,7 @@ cc_library(
|
||||
"include/fmt/xchar.h",
|
||||
],
|
||||
includes = [
|
||||
"include",
|
||||
"include",
|
||||
],
|
||||
strip_include_prefix = "include",
|
||||
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`.
|
||||
|
||||
# Using Bzlmod
|
||||
|
||||
The [Bazel Central Registry](https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/fmt) also provides support for {fmt}.
|
||||
|
Loading…
Reference in New Issue
Block a user