diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-06-26 14:06:54 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-06-26 14:06:54 +0100 |
commit | 2e9ed023d51e1618428e49864b0e1978f820bbc1 (patch) | |
tree | af5ea694455b7f58f4b4a722de87313ff30ec507 /slice.jam | |
parent | Override encoding on bug list htmls (diff) | |
download | gentoobrowse-2e9ed023d51e1618428e49864b0e1978f820bbc1.tar.bz2 gentoobrowse-2e9ed023d51e1618428e49864b0e1978f820bbc1.tar.xz gentoobrowse-2e9ed023d51e1618428e49864b0e1978f820bbc1.zip |
Allow control of --dll-export and --ice
Diffstat (limited to 'slice.jam')
-rw-r--r-- | slice.jam | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -8,6 +8,8 @@ import toolset ; type.register SLICE : ice ; feature slicer : no yes pure ; +feature allow-ice : no yes ; +feature ice-visibility : public hidden ; class slice-scanner : common-scanner { @@ -26,24 +28,29 @@ 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.slice2cpp DLLEXPORT <ice-visibility>public : --dll-export JAM_DLL_PUBLIC ; +toolset.flags slice.slice2cpp ALLOWICE <allow-ice>yes : --ice ; toolset.flags slice.slicer INCLUDES <include> ; +toolset.flags slice.slicer DLLEXPORT <ice-visibility>public : --dll-export JAM_DLL_PUBLIC ; +toolset.flags slice.slicer ALLOWICE <allow-ice>yes : --ice ; toolset.flags slice.slicer.pure INCLUDES <include> ; +toolset.flags slice.slicer.pure ALLOWICE <allow-ice>yes : --ice ; actions slice.slice2cpp { - slice2cpp -I"$(INCLUDES)" --checksum --output-dir $(1[1]:D) $(2) --dll-export JAM_DLL_PUBLIC + slice2cpp -I"$(INCLUDES)" --checksum --output-dir $(1[1]:D) $(2) $(DLLEXPORT) $(ALLOWICE[1]) } actions slice.slicer { - slice2cpp -I"$(INCLUDES)" --checksum --output-dir $(1[1]:D) $(2) --dll-export JAM_DLL_PUBLIC - slicer -I"$(INCLUDES)" $(2) $(1[1]) + slice2cpp -I"$(INCLUDES)" --checksum --output-dir $(1[1]:D) $(2) $(DLLEXPORT) $(ALLOWICE[1]) + slicer -I"$(INCLUDES)" $(2) $(1[1]) $(ALLOWICE[1]) } actions slice.slicer.pure { truncate -c -s 0 $(1[1]) - slicer -I"$(INCLUDES)" $(2) $(1[1]) + slicer -I"$(INCLUDES)" $(2) $(1[1]) $(ALLOWICE[1]) } IMPORT $(__name__) : slice.slice2cpp : : slice.slice2cpp ; |