adding bazel buildfile.

pull/1106/head
Clark Rinker 6 years ago
parent 8afe18f148
commit 919a01f8b1

1
.gitignore vendored

@ -1,4 +1,5 @@
# Auto generated files
bazel*
build/*
*.slo
*.lo

61
BUILD

@ -0,0 +1,61 @@
cc_library(
name = "headers",
visibility = ["//visibility:public"],
hdrs = glob(["include/**/*.h*"]),
includes = ["include"],
)
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"
]
)
cc_binary(
name="example",
srcs=[
"example/example.cpp"
],
includes=[
"bench"
],
deps=[
":headers"
]
)
Loading…
Cancel
Save