-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
45 lines (42 loc) · 984 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cc_library(
name = "cordo",
srcs = glob(["include/cordo/impl/**/*.hh"]),
hdrs = ["include/cordo/cordo.hh"],
copts = ["-std=c++20"],
includes = ["include"],
visibility = ["//visibility:public"],
)
cc_test(
name = "cordo_test",
size = "small",
srcs = glob(["tests/cordo/*.cc"]),
copts = ["-std=c++20"],
deps = [
":cordo",
"@googletest//:gtest",
"@googletest//:gtest_main",
],
)
cc_library(
name = "cordo_json",
hdrs = ["include/cordo_json/cordo_json.hh"],
copts = ["-std=c++20"],
includes = ["include"],
visibility = ["//visibility:public"],
deps = [
":cordo",
"@nlohmann_json//:json",
],
)
cc_test(
name = "cordo_json_test",
size = "small",
srcs = glob(["tests/cordo_json/*.cc"]),
copts = ["-std=c++20"],
deps = [
":cordo_json",
"@googletest//:gtest",
"@googletest//:gtest_main",
"@nlohmann_json//:json",
],
)