summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-03 18:22:09 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-03 18:49:39 +0100
commit3ce83f75bdd500a9054481bfdd2a32ce9d9e44b7 (patch)
tree347981d31b438dc2ba422595092ce88fe179447f /Jamroot.jam
parentRearrange the code to remove explicit instantiation after implicit warning (diff)
downloadslicer-3ce83f75bdd500a9054481bfdd2a32ce9d9e44b7.tar.bz2
slicer-3ce83f75bdd500a9054481bfdd2a32ce9d9e44b7.tar.xz
slicer-3ce83f75bdd500a9054481bfdd2a32ce9d9e44b7.zip
Ice 3.7
Implements Slicer for Ice 3.7. This is largely: * Pointers are now all std::shared_ptr * libSlice isn't installed, so we build part of it into libslicer-compiler * Library name change to use Ice++11 There are a few other things, but mostly just minor language/function name compatibility changes. The compiling of libSlice is a bit of a hack, currently comprising a git submodule of Ice itself, and a few dirty defines on the command line, but appears to be functionally satisfactory if a little unpleasant.
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index a40d70e..d51b988 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -7,7 +7,8 @@ variant coverage : debug ;
project
: requirements
- <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden"
+ <cxxflags>-DICE_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"