summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamroot.jam12
1 files changed, 6 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 8293aeb..2208c1a 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -11,13 +11,13 @@ variant coverage : debug ;
project
: requirements
<define>ICE_CPP11_MAPPING
- <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=2"
- <variant>release:<linkflags>"-flto=2"
- <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra"
- <variant>coverage:<cxxflags>"--coverage"
- <variant>coverage:<linkflags>"--coverage"
+ <variant>release:<lto>on
+ <variant>debug:<warnings>extra
+ <variant>debug:<warnings-as-errors>on
+ <variant>coverage:<coverage>on
;
build-project service ;