mirror of https://github.com/gabime/spdlog.git
Filling in remaining build targets
parent
919a01f8b1
commit
3bf4a07dc2
@ -0,0 +1,41 @@
|
||||
cc_binary(
|
||||
name="bench",
|
||||
srcs=[
|
||||
"bench/utils.h",
|
||||
"bench/bench.cpp"
|
||||
],
|
||||
includes=[
|
||||
"bench"
|
||||
],
|
||||
deps=[
|
||||
":headers"
|
||||
]
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
name="async_bench",
|
||||
srcs=[
|
||||
"bench/utils.h",
|
||||
"bench/async_bench.cpp"
|
||||
],
|
||||
includes=[
|
||||
"bench"
|
||||
],
|
||||
deps=[
|
||||
":headers"
|
||||
]
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
name="latency",
|
||||
srcs=[
|
||||
"bench/utils.h",
|
||||
"bench/latency.cpp"
|
||||
],
|
||||
includes=[
|
||||
"bench"
|
||||
],
|
||||
deps=[
|
||||
":headers"
|
||||
]
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
cc_test(
|
||||
name="main",
|
||||
srcs=glob([
|
||||
"*.h*",
|
||||
"utils.cpp",
|
||||
"main.cpp",
|
||||
"test_*.cpp"
|
||||
],
|
||||
exclude=[
|
||||
"test_systemd.cpp"
|
||||
]
|
||||
) + select({
|
||||
"@bazel_tools//src/conditions:windows": [],
|
||||
"@bazel_tools//src/conditions:darwin": [],
|
||||
"//conditions:default": ["test_systemd.cpp"],
|
||||
}),
|
||||
includes=[
|
||||
"tests"
|
||||
],
|
||||
deps=[
|
||||
"//:headers"
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue