Skip to content

Commit

Permalink
Jam: include boost using -isystem to avoid warnings caused by unused …
Browse files Browse the repository at this point in the history
…arguments in Boost.Test
  • Loading branch information
erenon committed Dec 13, 2015
1 parent 4afc4ca commit 65d61ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ project boost/double_ended
: build-dir /var/tmp/double-ended/build/test
: requirements
<include>../include
<include>$(BOOST_ROOT)
;

local toolset =
<toolset>gcc:<cxxflags>-Wextra
<toolset>gcc:<cxxflags>-Werror
<toolset>gcc:<cxxflags>-std=c++11
<toolset>gcc:<cxxflags>-isystem=$(BOOST_ROOT)
<toolset>gcc:<cxxflags>-fsanitize=address
<toolset>gcc:<linkflags>-Wl,-lasan
<toolset>clang:<cxxflags>-Wextra
<toolset>clang:<cxxflags>-Werror
<toolset>clang:<cxxflags>-std=c++11
<toolset>clang:<cxxflags>-isystem=$(BOOST_ROOT)
;

rule test_all
Expand Down

0 comments on commit 65d61ba

Please sign in to comment.