forked from Light-City/CPlusPlusThings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
43 lines (36 loc) · 1.08 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
# you can run some main program, just replace binary name
# such as: `bazel run basic_content/abstract:interesting_facts1`
# `bazel run basic_content/abstract:interesting_facts2`
# etc...
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 = "interesting_facts1",
srcs = ["interesting_facts1.cpp"],
)
cc_binary(
name = "interesting_facts2",
srcs = ["interesting_facts2.cpp"],
)
# Don't panic if you get compilation errors, this is what this code demonstrates, as expected.
cc_binary(
name = "interesting_facts3",
srcs = ["interesting_facts3.cpp"],
)
cc_binary(
name = "interesting_facts4",
srcs = ["interesting_facts4.cpp"],
)
cc_binary(
name = "interesting_facts5",
srcs = ["interesting_facts5.cpp"],
)
# Don't panic if you get compilation errors, this is what this code demonstrates, as expected.
cc_binary(
name = "pure_virtual",
srcs = ["pure_virtual.cpp"],
)
cc_binary(
name = "derived_full",
srcs = ["derived_full.cpp"],
)