-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
36 lines (31 loc) · 792 Bytes
/
BUILD
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
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "day-1",
srcs = ["day_1_report_repair.cc"],
# copts = ["-std=c++20"], # This doesn't work because it won't build absl with C++20 which results in linker errors
deps = [
"@com_google_absl//absl/status:status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings:str_format",
],
)
cc_binary(
name = "day-2",
srcs = ["day_2_password_philosophy.cc"],
deps = [
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
],
)
cc_binary(
name = "day-5",
srcs = ["day_5_binary_boarding.cc"],
deps = [
],
)
cc_binary(
name = "day-6",
srcs = ["day_6_custom_customs.cc"],
deps = [
],
)