1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
<?xml version="1.0" encoding="UTF-8"?>
<project default="build_eclipse" basedir=".">
<condition property="build-natives">
<matches pattern="^${ws}.${os}.${arch}$" string="${native}"/>
</condition>
<target name="build_eclipse" if="build-natives">
<exec dir="." executable="sh">
<arg line="${basedir}/build.sh"/>
<arg line="install"/>
<arg line="-ws ${ws}"/>
<arg line="-os ${os}"/>
<arg line="-arch ${arch}"/>
</exec>
</target>
<target name="clean" if="build-natives">
<tstamp/>
<exec dir="." executable="sh">
<arg line="${basedir}/build.sh"/>
<arg line="clean"/>
</exec>
</target>
</project>
|