forked from boostorg/iostreams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
44 lines (42 loc) · 1.01 KB
/
BUILD.bazel
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
load("@rules_cc//cc:defs.bzl", "cc_library")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "boost.iostreams",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
]),
srcs = glob(
["src/*.cpp"],
exclude = [
"src/zstd.cpp", # zstd not on bcr
"src/lzma.cpp", # lzma not on bcr
],
),
includes = ["include"],
defines = [
"BOOST_IOSTREAMS_NO_LIB",
],
deps = [
"@bzip2//:bz2",
"@zlib",
"@boost.assert",
"@boost.config",
"@boost.core",
"@boost.detail",
"@boost.function",
"@boost.integer",
"@boost.iterator",
"@boost.mpl",
"@boost.numeric_conversion",
"@boost.preprocessor",
"@boost.random",
"@boost.range",
"@boost.regex",
"@boost.smart_ptr",
"@boost.static_assert",
"@boost.throw_exception",
"@boost.type_traits",
"@boost.utility",
],
)