From 3b88367c9b9711ab29ab9441aab9b878c51a2913 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 10 Dec 2015 19:05:45 +0000 Subject: Add slicer pure feature value to build just the slicer parts, not the raw ice parts --- slice.jam | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'slice.jam') 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 : no ; generators.register-standard slice.slicer : SLICE : CPP H : yes ; +generators.register-standard slice.slicer.pure : SLICE : CPP : pure ; toolset.flags slice.slice2cpp INCLUDES ; toolset.flags slice.slicer INCLUDES ; +toolset.flags slice.slicer.pure INCLUDES ; 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 ; -- cgit v1.2.3