-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
33 lines (31 loc) · 772 Bytes
/
BUILD
File metadata and controls
33 lines (31 loc) · 772 Bytes
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
# logZ library
cc_library(
name = "logZ",
hdrs = [
"include/Queue.h",
"include/RingBytes.h",
"include/LogTypes.h",
"include/Logger.h",
"include/Backend.h",
"include/Decoder.h",
"include/Encoder.h",
"include/Sinker.h",
"include/StringRingBuffer.h",
"include/Fixedstring.h",
],
includes = ["include"],
copts = ["-std=c++20"],
visibility = ["//visibility:public"],
)
# Logger test with single/multi-thread tests
cc_test(
name = "test_logger",
srcs = ["test/test_logger.cpp"],
deps = [
":logZ",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main",
],
linkopts = ["-pthread"],
copts = ["-std=c++20"],
)