• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<project name="gdx-bullet-natives" basedir="." default="all">
2	<target name="clean">
3		<ant antfile="build-windows32.xml" target="clean"/>
4		<ant antfile="build-windows64.xml" target="clean"/>
5		<ant antfile="build-linux32.xml" target="clean"/>
6		<ant antfile="build-linux64.xml" target="clean"/>
7		<ant antfile="build-android32.xml" target="clean"/>
8
9	</target>
10
11	<target name="compile-natives">
12		<ant antfile="build-windows32.xml"/>
13		<ant antfile="build-windows64.xml"/>
14		<ant antfile="build-linux32.xml"/>
15		<ant antfile="build-linux64.xml"/>
16		<ant antfile="build-android32.xml"/>
17
18	</target>
19
20	<target name="pack-natives">
21		<jar destfile="../libs/gdx-bullet-natives.jar">
22			<fileset dir="../libs/windows32" includes="gdx-bullet.dll"/>
23			<fileset dir="../libs/windows64" includes="gdx-bullet64.dll"/>
24			<fileset dir="../libs/linux32" includes="libgdx-bullet.so"/>
25			<fileset dir="../libs/linux64" includes="libgdx-bullet64.so"/>
26			<fileset dir="../libs/macosx32" includes="libgdx-bullet.dylib"/>
27			<fileset dir="../libs/macosx64" includes="libgdx-bullet64.dylib"/>
28
29		</jar>
30	</target>
31
32	<target name="all" depends="compile-natives,pack-natives"/>
33</project>
34