forked from ChunelFeng/CGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
54 lines (52 loc) · 1.34 KB
/
BUILD
File metadata and controls
54 lines (52 loc) · 1.34 KB
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
49
50
51
52
53
54
cc_library(
name = "tutorial_header",
srcs = glob(["MyGAspect/**/*.h",
"MyGCondition/**/*.h",
"MyGDaemon/**/*.h",
"MyGEvent/**/*.h",
"MyGMutable/**/*.h",
"MyGNode/**/*.h",
"MyParams/**/*.h",
"MyUtils/**/*.h",]),
visibility = ["//visibility:public"],
)
CGRAPH_TUTORIAL_LIST = [
"T00-HelloCGraph",
"T01-Simple",
"T02-Cluster",
"T03-Region",
"T04-Complex",
"T05-Param",
"T06-Condition",
"T07-MultiPipeline",
"T08-Template",
"T09-Aspect",
"T10-AspectParam",
"T11-Singleton",
"T12-Function",
"T13-Daemon",
"T14-Hold",
"T15-ElementParam",
"T16-MessageSendRecv",
"T17-MessagePubSub",
"T18-Event",
"T19-Cancel",
"T20-YieldResume",
"T21-MultiCondition",
"T22-Timeout",
"T23-Some",
"T24-Fence",
"T25-Coordinator",
"T26-Mutable",
"T27-Trim",
"T28-Stage",
]
[
cc_binary(
name = "%s" % tutorial_name,
srcs = ["%s.cpp" % tutorial_name],
copts = ["-Isrc/"],
deps = [":tutorial_header","//src:CGraph"],
)
for tutorial_name in CGRAPH_TUTORIAL_LIST
]