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="ios-java-only">
10 <ant antfile="build.xml" target="gdx-backend-iosmonotouch" dir=".">
11 <property name="compile-natives" value="false"/>
13 <ant antfile="convert-ikvm.xml" dir=".">
14 <property name="IN" value="-srcpath:gdx/src/ dist/gdx.jar"/>
15 <property name="OUT" value="gdx/libs/ios32/gdx.dll"/>
17 <ant antfile="convert-ikvm.xml" dir=".">
18 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:backends/gdx-backend-iosmonotouch/src/ dist/gdx-backend-iosmonotouch.jar"/>
19 <property name="OUT" value="backends/gdx-backend-iosmonotouch/libs/ios32/gdx-backend-ios.dll"/>
23 <target name="core" depends="compile-jars">
24 <ant antfile="build-macosx32.xml" dir="gdx/jni">
25 <target name="clean"/>
26 <target name="postcompile"/>
28 <ant antfile="build-ios32.xml" dir="gdx/jni"/>
29 <ant antfile="convert-ikvm.xml" dir=".">
30 <property name="IN" value="-srcpath:gdx/src/ dist/gdx.jar"/>
31 <property name="OUT" value="gdx/libs/ios32/gdx.dll"/>
35 <target name="backend-iosmonotouch" depends="core">
36 <ant antfile="convert-ikvm.xml" dir=".">
37 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:backends/gdx-backend-iosmonotouch/src/ dist/gdx-backend-iosmonotouch.jar"/>
38 <property name="OUT" value="backends/gdx-backend-iosmonotouch/libs/ios32/gdx-backend-ios.dll"/>
42 <target name="freetype" depends="core">
43 <ant antfile="build-macosx32.xml" dir="extensions/gdx-freetype/jni">
44 <target name="clean"/>
45 <target name="postcompile"/>
47 <ant antfile="build-ios32.xml" dir="extensions/gdx-freetype/jni"/>
48 <ant antfile="convert-ikvm.xml" dir=".">
49 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:extensions/gdx-freetype/src/ dist/extensions/gdx-freetype/gdx-freetype.jar"/>
50 <property name="OUT" value="extensions/gdx-freetype/libs/ios32/gdx-freetype.dll"/>
54 <target name="bullet" depends="core">
55 <ant antfile="build-macosx32.xml" dir="extensions/gdx-bullet/jni">
56 <target name="clean"/>
57 <target name="postcompile"/>
59 <!--<ant antfile="build-ios32.xml" dir="extensions/gdx-bullet/jni"/>
60 <ant antfile="convert-ikvm.xml" dir=".">
61 <property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:extensions/gdx-bullet/src/ dist/extensions/gdx-bullet/gdx-bullet.jar"/>
62 <property name="OUT" value="extensions/gdx-bullet/libs/ios32/gdx-bullet.dll"/>
66 <target name="controllers" depends="core">
67 <ant antfile="build-macosx32.xml" dir="extensions/gdx-controllers/gdx-controllers-desktop/jni">
68 <target name="clean"/>
69 <target name="postcompile"/>
73 <target name="audio" depends="core">
74 <ant antfile="build-macosx32.xml" dir="extensions/gdx-audio/jni">
75 <target name="clean"/>
76 <target name="postcompile"/>
80 <target name="image" depends="core">
81 <ant antfile="build-macosx32.xml" dir="extensions/gdx-image/jni">
82 <target name="clean"/>
83 <target name="postcompile"/>
87 <target name="all" depends="core,backend-iosmonotouch,freetype,bullet,audio,image,controllers">