summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-10 19:05:45 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-10 19:05:45 +0000
commit0d09e4f4c44681fb357e3dd9c1bb8c4525cfa1a2 (patch)
tree53bb8dd883f8408356f572ae52a36f25ff15173f
parentEnable gc-sections in release (diff)
downloadp2pvr-0d09e4f4c44681fb357e3dd9c1bb8c4525cfa1a2.tar.bz2
p2pvr-0d09e4f4c44681fb357e3dd9c1bb8c4525cfa1a2.tar.xz
p2pvr-0d09e4f4c44681fb357e3dd9c1bb8c4525cfa1a2.zip
Add slicer pure feature value to build just the slicer parts, not the raw ice parts
-rw-r--r--slice.jam10
1 files changed, 9 insertions, 1 deletions
diff --git a/slice.jam b/slice.jam
index 5534092..00c8d67 100644
--- a/slice.jam
+++ b/slice.jam
@@ -7,7 +7,7 @@ import toolset ;
type.register SLICE : ice ;
-feature slicer : no yes ;
+feature slicer : no yes pure ;
class slice-scanner : common-scanner
{
@@ -23,9 +23,11 @@ type.set-scanner SLICE : slice-scanner ;
generators.register-standard slice.slice2cpp : SLICE : CPP H : <slicer>no ;
generators.register-standard slice.slicer : SLICE : CPP H : <slicer>yes ;
+generators.register-standard slice.slicer.pure : SLICE : CPP : <slicer>pure ;
toolset.flags slice.slice2cpp INCLUDES <include> ;
toolset.flags slice.slicer INCLUDES <include> ;
+toolset.flags slice.slicer.pure INCLUDES <include> ;
actions slice.slice2cpp
{
@@ -38,6 +40,12 @@ actions slice.slicer
slicer -I"$(INCLUDES)" $(2) $(1[1])
}
+actions slice.slicer.pure
+{
+ slicer -I"$(INCLUDES)" $(2) $(1[1])
+}
+
IMPORT $(__name__) : slice.slice2cpp : : slice.slice2cpp ;
IMPORT $(__name__) : slice.slicer : : slice.slicer ;
+IMPORT $(__name__) : slice.slicer.pure : : slice.slicer.pure ;