-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
60 lines (53 loc) · 1.41 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
49
50
51
52
53
54
55
56
57
58
59
60
cc_library(
name="fwd",
hdrs=["include/zen/fwd.hpp"],
strip_include_prefix="include",
visibility=["//:__subpackages__"]
)
cc_library(
name="utility",
hdrs=glob(["include/zen/utility/*.hpp"]),
strip_include_prefix="include",
visibility=["//visibility:public"]
)
cc_library(
name="meta",
hdrs=["include/zen/meta.hpp"] + glob(["include/zen/meta/*.hpp"]),
strip_include_prefix="include",
visibility=["//:__subpackages__"]
)
cc_library(
name="executor",
hdrs=["include/zen/executor.hpp"] + glob(["include/zen/executor/*.hpp"]),
strip_include_prefix="include",
deps=[":utility"],
visibility=["//visibility:public"]
)
cc_library(
name="result",
hdrs=["include/zen/result.hpp"] + glob(["include/zen/result/*.hpp"]),
strip_include_prefix="include",
deps=[":fwd", ":meta", ":utility"],
visibility=["//visibility:public"]
)
cc_library(
name="core",
hdrs=["include/zen/core.hpp"] + glob(["include/zen/core/*.hpp"]),
strip_include_prefix="include",
deps=[":fwd", ":meta", ":result"],
visibility=["//visibility:public"]
)
cc_library(
name="parallel",
hdrs=["include/zen/parallel.hpp"] + glob(["include/zen/parallel/*.hpp"]),
strip_include_prefix="include",
deps=[":core", ":executor"],
visibility=["//visibility:public"]
)
cc_library(
name="zen",
hdrs=["include/zen/zen.hpp"],
strip_include_prefix="include",
deps=[":core", ":parallel"],
visibility=["//visibility:public"]
)