Enable -ftrivial-auto-var-init=pattern when available
[openal-soft.git] / fmt-11.0.2 / support / bazel / BUILD.bazel
blob1a06ed52b99dc05ccbd0ed12e7adb9312395c13d
1 cc_library(
2     name = "fmt",
3     srcs = [
4         #"src/fmt.cc", # No C++ module support, yet in Bazel (https://github.com/bazelbuild/bazel/pull/19940)
5         "src/format.cc",
6         "src/os.cc",
7     ],
8     hdrs = glob([
9         "include/fmt/*.h",
10     ]),
11     copts = select({
12         "@platforms//os:windows": ["-utf-8"],
13         "//conditions:default": [],
14     }),
15     includes = [
16         "include",
17     ],
18     strip_include_prefix = "include",
19     visibility = ["//visibility:public"],