fmt/support/bazel/BUILD.bazel

21 lines
495 B
Python
Raw Normal View History

2021-09-24 20:17:26 +00:00
cc_library(
name = "fmt",
srcs = [
#"src/fmt.cc", # No C++ module support, yet in Bazel (https://github.com/bazelbuild/bazel/pull/19940)
2021-09-24 20:17:26 +00:00
"src/format.cc",
"src/os.cc",
],
hdrs = glob([
"include/fmt/*.h",
]),
copts = select({
"@platforms//os:windows": ["-utf-8"],
"//conditions:default": [],
}),
2021-09-24 20:17:26 +00:00
includes = [
"include",
2021-09-24 20:17:26 +00:00
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)