2021-09-24 20:17:26 +00:00
|
|
|
cc_library(
|
|
|
|
name = "fmt",
|
|
|
|
srcs = [
|
2024-01-09 19:27:44 +00:00
|
|
|
#"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",
|
|
|
|
],
|
2024-01-10 19:19:06 +00:00
|
|
|
hdrs = glob([
|
|
|
|
"include/fmt/*.h",
|
|
|
|
]),
|
2024-05-15 13:33:27 +00:00
|
|
|
copts = select({
|
|
|
|
"@platforms//os:windows": ["-utf-8"],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
2021-09-24 20:17:26 +00:00
|
|
|
includes = [
|
2023-04-29 14:45:49 +00:00
|
|
|
"include",
|
2021-09-24 20:17:26 +00:00
|
|
|
],
|
|
|
|
strip_include_prefix = "include",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|