diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-06-06 12:11:38 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-06-06 12:11:38 +0100 |
commit | dbcb474cbf7bbf7445f0cc4a4da4db4099e19124 (patch) | |
tree | 94c4a1ffca3a8111c9231ae0892a2df325391d7b /Jamroot.jam | |
parent | Bump Ice version (diff) | |
parent | Add not the worst hack to get linking to work on GCC and Clang (diff) | |
download | slicer-dbcb474cbf7bbf7445f0cc4a4da4db4099e19124.tar.bz2 slicer-dbcb474cbf7bbf7445f0cc4a4da4db4099e19124.tar.xz slicer-dbcb474cbf7bbf7445f0cc4a4da4db4099e19124.zip |
Psycho-rebased branch slicer-1.10 on top of master
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index c332369..98e8e4c 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -1,5 +1,6 @@ import os ; import slice ; +import testing ; using gcc : : [ os.environ CXX ] ; using pkg-config ; @@ -12,22 +13,37 @@ project <define>ICE_CPP11_MAPPING <cxxstd>17 <visibility>hidden - <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" + <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" <variant>release:<cxxflags>"-flto" <toolset>gcc:<variant>release:<cxxflags>"-flto=2" <variant>release:<linkflags>"-flto" <toolset>gcc:<variant>release:<linkflags>"-flto=2" - <variant>debug:<warnings>extra - <variant>debug:<warnings-as-errors>on - <variant>coverage:<coverage>on + <variant>debug:<warnings>extra + <variant>debug:<warnings-as-errors>on + <variant>coverage:<coverage>on <toolset>tidy:<checkxx>boost-* <toolset>tidy:<checkxx>bugprone-* <toolset>tidy:<checkxx>clang-* <toolset>tidy:<checkxx>misc-* <toolset>tidy:<checkxx>modernize-* + <toolset>tidy:<xcheckxx>modernize-use-trailing-return-type <toolset>tidy:<checkxx>hicpp-* <toolset>tidy:<checkxx>performance-* - ; + <toolset>tidy:<exclude>test/bin/tidy/debug/classes.h + <toolset>tidy:<exclude>test/bin/tidy/debug/classtype.h + <toolset>tidy:<exclude>test/bin/tidy/debug/collections.h + <toolset>tidy:<exclude>test/bin/tidy/debug/enums.h + <toolset>tidy:<exclude>test/bin/tidy/debug/inheritance.h + <toolset>tidy:<exclude>test/bin/tidy/debug/interfaces.h + <toolset>tidy:<exclude>test/bin/tidy/debug/json.h + <toolset>tidy:<exclude>test/bin/tidy/debug/locals.h + <toolset>tidy:<exclude>test/bin/tidy/debug/optionals.h + <toolset>tidy:<exclude>test/bin/tidy/debug/structs.h + <toolset>tidy:<exclude>test/bin/tidy/debug/types.h + <toolset>tidy:<exclude>test/bin/tidy/debug/xml.h + <toolset>tidy:<exclude>slicer/bin/common.h + <toolset>tidy:<exclude>xml/bin/tidy/debug/cxxstd-17-iso/xmlExceptions.h + ; build-project slicer ; |