Made b2 toolset customizable

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@746 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2014-05-29 10:17:00 +00:00
parent 834b06a84e
commit e4c2468381

View file

@ -129,12 +129,16 @@
</tar> </tar>
</target> </target>
<condition property="b2.toolset" value="--toolset=${boost.toolset}" else="">
<isset property="boost.toolset"/>
</condition>
<condition property="b2" value="b2.exe" else="b2"> <condition property="b2" value="b2.exe" else="b2">
<os family="windows"/> <os family="windows"/>
</condition> </condition>
<presetdef name="b2"> <presetdef name="b2">
<exec taskname="b2" failonerror="true" executable="${boost.root}/${b2}"> <exec taskname="b2" failonerror="true" executable="${boost.root}/${b2}">
<arg value="-q"/> <arg value="-q"/>
<arg value="${b2.toolset}"/>
</exec> </exec>
</presetdef> </presetdef>