OSDN Git Service

Let InputStream subclasses report available bytes.
[mikumikustudio/libgdx-mikumikustudio.git] / build-mac-ios.xml
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"/>
6                 </ant>
7         </target>
8                 
9     <target name="ios-java-only">
10         <ant antfile="build.xml" target="gdx-backend-iosmonotouch" dir=".">
11                         <property name="compile-natives" value="false"/>
12                 </ant>
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"/>
16                 </ant>
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"/>
20                 </ant>
21     </target>
22     
23         <target name="core" depends="compile-jars">
24                 <ant antfile="build-macosx32.xml" dir="gdx/jni">
25                         <target name="clean"/>
26                         <target name="postcompile"/>
27                 </ant>
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"/>
32                 </ant>
33         </target>
34         
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"/>
39                 </ant>
40         </target>
41         
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"/>
46                 </ant>
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"/>
51                 </ant>
52         </target>
53         
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"/>
58                 </ant>
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"/>
63                 </ant>-->
64         </target>
65         
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"/>
70                 </ant>
71         </target>
72         
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"/>
77                 </ant>
78         </target>
79         
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"/>
84                 </ant>
85         </target>
86         
87         <target name="all" depends="core,backend-iosmonotouch,freetype,bullet,audio,image,controllers"> 
88         </target>
89 </project>