forked from Light-City/CPlusPlusThings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
30 lines (28 loc) · 787 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
# please run `bazel run //learn_class/modern_cpp_30/constexpr:test3`
# please run `bazel run //learn_class/modern_cpp_30/constexpr:newconstexpr`
# please run `bazel run //learn_class/modern_cpp_30/constexpr:container`
# please run `bazel run //learn_class/modern_cpp_30/constexpr:sqrt`
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "test3",
srcs = ["test3.cpp"],
copts = ["-std=c++17"],
)
cc_binary(
name = "newconstexpr",
srcs = ["newconstexpr.cpp"],
copts = ["-std=c++17"],
)
cc_binary(
name = "container",
srcs = ["container.cpp"],
copts = ["-std=c++17"],
deps = [
"//learn_class/modern_cpp_30/container1:output_container",
],
)
cc_binary(
name = "sqrt",
srcs = ["sqrt.cpp"],
copts = ["-std=c++17"],
)