forked from Light-City/CPlusPlusThings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
30 lines (26 loc) · 780 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 basic_content/using:derived_base`
# please run `bazel run basic_content/using:using_derived`
# please run `bazel run basic_content/using:using_global`
# please run `bazel run basic_content/using:using_typedef`
load("@rules_cc//cc:defs.bzl", "cc_binary")
# Don't panic if you get compilation errors, this is what this code demonstrates, as expected.
cc_binary(
name = "derived_base",
srcs = ["derived_base.cpp"],
copts = ["-std=c++11"]
)
cc_binary(
name = "using_derived",
srcs = ["using_derived.cpp"],
copts = ["-std=c++11"]
)
cc_binary(
name = "using_global",
srcs = ["using_global.cpp"],
copts = ["-std=c++11"]
)
cc_binary(
name = "using_typedef",
srcs = ["using_typedef.cpp"],
copts = ["-std=c++11"]
)