1 <project name="gdx-ios-build" default="all" basedir=".">
2 <!-- compile the distribution so we have all jars we need, do not compile natives -->
3 <target name="compile-jars">
4 <ant antfile="build.xml" dir=".">
5 <property name="compile-natives" value="false"/>
9 <target name="core" depends="compile-jars">
10 <ant antfile="build-macosx32.xml" dir="gdx/jni">
11 <target name="clean"/>
12 <target name="postcompile"/>
14 <ant antfile="build-ios32.xml" dir="gdx/jni"/>
15 <ant antfile="convert-ikvm.xml" dir=".">
16 <property name="IN" value="-srcpath:gdx/src/ dist/gdx.jar"/>
17 <property name="OUT" value="gdx/libs/ios32/gdx.dll"/>
21 <target name="backend-iosmonotouch" depends="core">
22 <ant antfile="convert-ikvm.xml" dir=".">
23 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:backends/gdx-backend-iosmonotouch/src/ dist/gdx-backend-iosmonotouch.jar"/>
24 <property name="OUT" value="backends/gdx-backend-iosmonotouch/libs/gdx-backend-ios.dll"/>
28 <target name="freetype" depends="core">
29 <ant antfile="build-macosx32.xml" dir="extensions/gdx-freetype/jni">
30 <target name="clean"/>
31 <target name="postcompile"/>
33 <ant antfile="build-ios32.xml" dir="extensions/gdx-freetype/jni"/>
34 <ant antfile="convert-ikvm.xml" dir=".">
35 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:extensions/gdx-freetype/src/ dist/extensions/gdx-freetype/gdx-freetype.jar"/>
36 <property name="OUT" value="extensions/gdx-freetype/libs/ios32/gdx-freetype.dll"/>
40 <target name="bullet" depends="core">
41 <ant antfile="build-macosx32.xml" dir="extensions/gdx-bullet/jni">
42 <target name="clean"/>
43 <target name="postcompile"/>
45 <!--<ant antfile="build-ios32.xml" dir="extensions/gdx-bullet/jni"/>
46 <ant antfile="convert-ikvm.xml" dir=".">
47 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:extensions/gdx-bullet/src/ dist/extensions/gdx-bullet/gdx-bullet.jar"/>
48 <property name="OUT" value="extensions/gdx-bullet/libs/ios32/gdx-bullet.dll"/>
52 <target name="controllers" depends="core">
53 <ant antfile="build-macosx32.xml" dir="extensions/gdx-controllers/gdx-controllers-desktop/jni">
54 <target name="clean"/>
55 <target name="postcompile"/>
59 <target name="audio" depends="core">
60 <ant antfile="build-macosx32.xml" dir="extensions/gdx-audio/jni">
61 <target name="clean"/>
62 <target name="postcompile"/>
66 <target name="image" depends="core">
67 <ant antfile="build-macosx32.xml" dir="extensions/gdx-image/jni">
68 <target name="clean"/>
69 <target name="postcompile"/>
73 <target name="all" depends="core,backend-iosmonotouch,freetype,bullet,audio,image,controllers">