summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-15 13:41:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-15 13:41:38 +0100
commitf3e2dd7780bb90feff6b2f7a36797752a4933ff6 (patch)
tree70b494839b379ab96cae33b01ae9ef6c1e893340 /Jamroot.jam
parentAdd a redirect to work as a Gentoo mirror (diff)
downloadmirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.tar.bz2
mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.tar.xz
mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.zip
C++17 and Ice 3.7
Updates all components to be C++17 and Ice 3.7
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam12
1 files changed, 6 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index d389b87..de18e22 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -8,11 +8,12 @@ variant coverage : debug ;
project
: requirements
- <cxxflags>"-std=c++17 -fvisibility=hidden"
+ <define>ICE_CPP11_MAPPING
+ <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden"
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>release:<cxxflags>"-fvisibility-inlines-hidden -flto=2"
+ <variant>release:<cxxflags>"-flto=2"
<variant>release:<linkflags>"-flto=2"
- <variant>debug:<cxxflags>"-W -Wall -Wextra -Werror -Wwrite-strings"
+ <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra"
<variant>coverage:<cxxflags>"--coverage"
<variant>coverage:<linkflags>"--coverage"
;
@@ -38,10 +39,9 @@ lib slicer : : : : <include>/usr/include/slicer ;
lib slicer-db : : : : <include>/usr/include/slicer ;
lib icetray : : : : <include>/usr/include/icetray ;
lib dbppcore : : : : <include>/usr/include/dbpp ;
-lib Ice ;
-lib IceUtil ;
+lib Ice : : <name>Ice++11 ;
lib pthread ;
-lib IceBox ;
+lib IceBox : : <name>IceBox++11 ;
lib boost_filesystem ;
lib boost_system ;
lib boost_thread ;