summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam10
1 files changed, 6 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 9779158..fb9e151 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -11,13 +11,15 @@ project
: requirements
<define>ICE_CPP11_MAPPING
<define>_FILE_OFFSET_BITS=64
- <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden"
+ <cxxstd>17
+ <visibility>hidden
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
<variant>release:<cxxflags>"-flto=3"
<variant>release:<linkflags>"-flto=3"
- <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra -Wlogical-op"
- <variant>coverage:<cxxflags>"--coverage"
- <variant>coverage:<linkflags>"--coverage"
+ <variant>debug:<cxxflags>-Wlogical-op
+ <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-*