diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-04-25 14:02:27 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-04-25 14:02:27 +0100 |
commit | bd813abc7002e8268b3e3b907ef4a27d9f9a0dc7 (patch) | |
tree | bcdba41dee0e8b8f0586e119e7f93c1e83fb5279 /Jamroot.jam | |
parent | Modernize coverage flags (diff) | |
download | slicer-bd813abc7002e8268b3e3b907ef4a27d9f9a0dc7.tar.bz2 slicer-bd813abc7002e8268b3e3b907ef4a27d9f9a0dc7.tar.xz slicer-bd813abc7002e8268b3e3b907ef4a27d9f9a0dc7.zip |
Modernize and tidy
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index c332369..9f35c7f 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -12,22 +12,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 ; |