mirror of
https://github.com/google/benchmark.git
synced 2024-11-26 16:31:54 +00:00
df60aeb266
Having the copts set on a per-target level can lead to ODR violations in some cases. Avoid this by ensuring the regex engine is picked through compiler intrinsics in the header directly.
19 lines
374 B
Python
19 lines
374 B
Python
licenses(["notice"])
|
|
|
|
cc_library(
|
|
name = "benchmark",
|
|
srcs = glob([
|
|
"src/*.cc",
|
|
"src/*.h",
|
|
]),
|
|
hdrs = ["include/benchmark/benchmark.h"],
|
|
strip_include_prefix = "include",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "benchmark_internal_headers",
|
|
hdrs = glob(["src/*.h"]),
|
|
visibility = ["//test:__pkg__"],
|
|
)
|