summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-28 14:24:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-28 14:24:04 +0100
commit1a7b43c875227527bf180066354f6c3d6515d5cb (patch)
tree7d9364adb554b2bd5f1ea5701be82923e04e0793 /Jamroot.jam
parentFix throw in destructors (diff)
downloadproject2-1a7b43c875227527bf180066354f6c3d6515d5cb.tar.bz2
project2-1a7b43c875227527bf180066354f6c3d6515d5cb.tar.xz
project2-1a7b43c875227527bf180066354f6c3d6515d5cb.zip
C++17 and Ice 3.7project2-1.3.0
Updates all code to work with C++17 and Ice 3.7 and related updates in used libraries.
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam18
1 files changed, 9 insertions, 9 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 5f73725..d92540b 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -3,19 +3,19 @@ import slice ;
using gcc : : [ os.environ CXX ] ;
-variant component ;
variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <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"
- <variant>component:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC -fvisibility=hidden"
- <variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC"
+ <define>ICE_CPP11_MAPPING
+ <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden"
+ <linkflags>"-Wl,--warn-once,--gc-sections"
+ <variant>release:<cxxflags>"-flto=2"
+ <variant>release:<linkflags>"-flto=2"
+ <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra"
+ <variant>debug:<linkflags>"-Wl,-z,defs"
+ <variant>coverage:<cxxflags>"--coverage"
+ <variant>coverage:<linkflags>"--coverage"
;
build-project project2 ;