summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-17 22:31:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-17 22:31:10 +0100
commitff6c433341ad4bf63413938dd462c6bd7071032a (patch)
tree392d77d744f2f629ade17a2a2e36c9c3d6c75d78 /Jamroot.jam
parentICE Local (diff)
downloadmythfs-ff6c433341ad4bf63413938dd462c6bd7071032a.tar.bz2
mythfs-ff6c433341ad4bf63413938dd462c6bd7071032a.tar.xz
mythfs-ff6c433341ad4bf63413938dd462c6bd7071032a.zip
C++17 and Ice 3.7mythfs-0.3
Update everything to Ice 3.7 and C++17 in keeping with other libs/services
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam14
1 files changed, 8 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index d39b5f5..896177a 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -8,12 +8,14 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -flto"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto"
- <variant>debug:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden"
- <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once"
- <variant>coverage:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden"
- <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage"
+ <define>ICE_CPP11_MAPPING
+ <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-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"
;
build-project mythfs ;