-
Notifications
You must be signed in to change notification settings - Fork 8.5k
/
BUILD
48 lines (46 loc) · 1.29 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
# please run `bazel run //learn_class/modern_cpp_30/container2:relacontainer`
# please run `bazel run //learn_class/modern_cpp_30/container2:priority_queue`
# please run `bazel run //learn_class/modern_cpp_30/container2:hash`
# please run `bazel run //learn_class/modern_cpp_30/container2:array`
# please run `bazel run //learn_class/modern_cpp_30/container2:unorder`
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "relacontainer",
srcs = ["relacontainer.cpp"],
copts = ["-std=c++17"],
deps = [
"//learn_class/modern_cpp_30/container1:output_container",
],
)
cc_binary(
name = "priority_queue",
srcs = ["priority_queue.cpp"],
copts = ["-std=c++17"],
deps = [
"//learn_class/modern_cpp_30/container1:output_container",
],
)
cc_binary(
name = "hash",
srcs = ["hash.cpp"],
copts = ["-std=c++17"],
deps = [
"//learn_class/modern_cpp_30/container1:output_container",
],
)
cc_binary(
name = "array",
srcs = ["array.cpp"],
copts = ["-std=c++17"],
deps = [
"//learn_class/modern_cpp_30/container1:output_container",
],
)
cc_binary(
name = "unorder",
srcs = ["unorder.cpp"],
copts = ["-std=c++17"],
deps = [
"//learn_class/modern_cpp_30/container1:output_container",
],
)