Unverified Commit 8df87f6c by Yannic Committed by GitHub

Revert "Add bazel target for benchmark_release (#1078)" (#1081)

This reverts commit d8254bb9.
parent a6d08aea
......@@ -10,8 +10,8 @@ config_setting(
visibility = [":__subpackages__"],
)
filegroup(
name = "benchmark_srcs",
cc_library(
name = "benchmark",
srcs = glob(
[
"src/*.cc",
......@@ -19,25 +19,7 @@ filegroup(
],
exclude = ["src/benchmark_main.cc"],
),
)
cc_library(
name = "benchmark",
srcs = [":benchmark_srcs"],
hdrs = ["include/benchmark/benchmark.h"],
linkopts = select({
":windows": ["-DEFAULTLIB:shlwapi.lib"],
"//conditions:default": ["-pthread"],
}),
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)
cc_library(
name = "benchmark_release",
srcs = [":benchmark_srcs"],
hdrs = ["include/benchmark/benchmark.h"],
defines = ["NDEBUG"],
linkopts = select({
":windows": ["-DEFAULTLIB:shlwapi.lib"],
"//conditions:default": ["-pthread"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment