7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2024-11-24 20:15:01 +00:00
kicad/thirdparty/fmt/support/bazel/BUILD.bazel
2024-09-21 17:44:10 -04:00

21 lines
495 B
Python

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