forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.msgpack
59 lines (56 loc) · 1.05 KB
/
BUILD.msgpack
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
filegroup(
name = "c_headers",
srcs = glob([
"include/*.h",
"include/**/*.h",
"include/**/**/*.h",
"include/**/**/**/*.h",
],
exclude = [
"include/msgpack.h",
],
),
)
filegroup(
name = "cxx_headers",
srcs = glob([
"include/*.hpp",
"include/**/*.hpp",
"include/**/**/*.hpp",
"include/**/**/**/*.hpp",
],
exclude = [
"include/msgpack.hpp",
],
),
)
filegroup(
name = "source_files",
srcs = [
"src/objectc.c",
"src/unpack.c",
"src/version.c",
"src/vrefbuffer.c",
"src/zone.c",
],
)
cc_library(
name = "msgpack",
srcs = [
":c_headers",
":cxx_headers",
":source_files",
],
hdrs = [
"include/msgpack.h",
"include/msgpack.hpp",
],
includes = [
"include",
],
strip_include_prefix = "include",
copts = [
#"-std=c++11",
],
visibility = ["//visibility:public"],
)