@@ -11,15 +11,17 @@ require-b2 5.2 ;
11
11
# Test without exceptions and rtti: b2 cxxstd=latest exception-handling=off rtti=off test//minimal
12
12
# Test with sanitizers: b2 toolset=clang cxxstd=latest histogram_ubasan test
13
13
14
+ constant boost_dependencies :
15
+ /boost/config//boost_config
16
+ /boost/core//boost_core
17
+ /boost/math//boost_math
18
+ /boost/mp11//boost_mp11
19
+ /boost/serialization//boost_serialization
20
+ /boost/throw_exception//boost_throw_exception
21
+ /boost/variant2//boost_variant2 ;
22
+
14
23
project /boost/histogram
15
24
: common-requirements
16
- <library>/boost/config//boost_config
17
- <library>/boost/core//boost_core
18
- <library>/boost/math//boost_math
19
- <library>/boost/mp11//boost_mp11
20
- <library>/boost/serialization//boost_serialization
21
- <library>/boost/throw_exception//boost_throw_exception
22
- <library>/boost/variant2//boost_variant2
23
25
<include>include
24
26
: requirements
25
27
<toolset>clang:<cxxflags>"-Wsign-compare -Wstrict-aliasing -fstrict-aliasing -Wvexing-parse -Wfloat-conversion"
@@ -33,7 +35,7 @@ project /boost/histogram
33
35
;
34
36
35
37
explicit
36
- [ alias boost_histogram ]
38
+ [ alias boost_histogram : : : : <library>$(boost_dependencies) ]
37
39
[ alias all : boost_histogram test examples ]
38
40
;
39
41
@@ -47,3 +49,4 @@ variant histogram_ubasan : debug :
47
49
<cxxflags>"-fno-omit-frame-pointer -O0 -fno-inline -fsanitize=address,leak,undefined -fno-sanitize-recover=all -fsanitize-blacklist=$(THIS_PATH)/tools/blacklist.supp"
48
50
<linkflags>"-fsanitize=address,leak,undefined"
49
51
;
52
+
0 commit comments