1 # Copyright Mateusz Loskot 2018 <mateusz@loskot.net>
2 # Copyright Klemens David Morgenstern, Hans P. Dembinski 2016-2017
4 # Use, modification and distribution is subject to the Boost Software License,
5 # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
12 <implicit-dependency>/boost//headers
13 <include>$(BOOST_ROOT)
14 <toolset>clang:<cxxflags>"-pedantic -Wextra -Wsign-compare -Wstrict-aliasing -fstrict-aliasing"
15 <toolset>gcc:<cxxflags>"-pedantic -Wextra -Wsign-compare -Wstrict-aliasing -fstrict-aliasing"
20 path-constant THIS_PATH : . ;
22 # only works with clang because of -fsanitize-blacklist
23 variant histogram_ubasan : debug :
24 <cxxflags>"-fno-omit-frame-pointer -O0 -fno-inline -fsanitize=address,leak,undefined -fno-sanitize-recover=all -fsanitize-blacklist=$(THIS_PATH)/tools/blacklist.supp"
25 <linkflags>"-fsanitize=address,leak,undefined"
30 # Generate coverage data: `b2 cxxstd=latest coverage=on`
31 # Build without exceptions and rtti: `b2 exception-handling=off rtti=off`
34 build-project examples ;