summaryrefslogtreecommitdiff
path: root/slicer/test/slicer.jam
blob: 4d92101d686f24231ced1c743db7dc92ea1eaeb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import generators ;
import type ;
import feature ;
import toolset ;

generators.register-standard $(__name__).slicer : SLICE : CPP CPP(slicer-%) H : <slicer>yes ;
generators.override $(__name__).slicer : slice.slicer ;
feature.feature slicerbin : : free dependency ;
toolset.flags slicer SLICERBIN <slicerbin> ;
toolset.flags slicer INCLUDES <include> ;

actions slicer bind SLICERBIN
{
  slice2cpp -I"$(INCLUDES)" --checksum --output-dir $(1[1]:D) $(2) --dll-export JAM_DLL_PUBLIC
	"$(SLICERBIN)" -I"$(INCLUDES)" $(2) $(1[2]) --headerPrefix="\"\""
}