-
Notifications
You must be signed in to change notification settings - Fork 6.2k
/
Copy pathmsgpack.BUILD
40 lines (39 loc) · 960 Bytes
/
msgpack.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
# This library is for internal use, because the library assumes a
# different include prefix for itself than external libraries do.
cc_library(
name = "_msgpack",
hdrs = glob([
"include/**/*.h",
"include/**/*.hpp",
]),
strip_include_prefix = "include",
)
cc_library(
name = "msgpack",
srcs = [
"src/objectc.c",
"src/unpack.c",
"src/version.c",
"src/vrefbuffer.c",
"src/zone.c",
],
hdrs = [
"include/msgpack.h",
"include/msgpack.hpp",
],
includes = [
"include/",
],
strip_include_prefix = "include",
copts = select({
"@platforms//os:windows": [],
# Ray doesn't control third-party libraries' implementation, simply ignores certain warning errors.
"//conditions:default": [
"-Wno-shadow",
],
}),
deps = [
":_msgpack",
],
visibility = ["//visibility:public"],
)