| <project name="gdx-freetype-natives" basedir="." default="all"> |
| <target name="clean"> |
| <ant antfile="build-windows32.xml" target="clean"/> |
| <ant antfile="build-windows64.xml" target="clean"/> |
| <ant antfile="build-linux32.xml" target="clean"/> |
| <ant antfile="build-linux64.xml" target="clean"/> |
| <ant antfile="build-android32.xml" target="clean"/> |
| |
| </target> |
| |
| <target name="compile-natives"> |
| <ant antfile="build-windows32.xml"/> |
| <ant antfile="build-windows64.xml"/> |
| <ant antfile="build-linux32.xml"/> |
| <ant antfile="build-linux64.xml"/> |
| <ant antfile="build-android32.xml"/> |
| |
| </target> |
| |
| <target name="pack-natives"> |
| <jar destfile="../libs/gdx-freetype-natives.jar"> |
| <fileset dir="../libs/windows32" includes="gdx-freetype.dll"/> |
| <fileset dir="../libs/windows64" includes="gdx-freetype64.dll"/> |
| <fileset dir="../libs/linux32" includes="libgdx-freetype.so"/> |
| <fileset dir="../libs/linux64" includes="libgdx-freetype64.so"/> |
| <fileset dir="../libs/macosx32" includes="libgdx-freetype.dylib"/> |
| <fileset dir="../libs/macosx64" includes="libgdx-freetype64.dylib"/> |
| |
| </jar> |
| </target> |
| |
| <target name="all" depends="compile-natives,pack-natives"/> |
| </project> |