OSDN Git Service

Swig gen wrapper and update vs project
[mikumikustudio/libgdx-mikumikustudio.git] / build-template.xml
index 2c727bf..c0089e9 100644 (file)
@@ -86,22 +86,6 @@ zipfileset id="jarfiles" -> the jar files to be merged with the project's classe
                <echo message="compiling natives code"/>\r
                <ant antfile="build.xml" target="clean" dir="${jni}"/>\r
                <ant antfile="build.xml" target="all" dir="${jni}"/>\r
-               <!-- copy shared libs for android -->\r
-               <copy failonerror="false" todir="${distDir}/armeabi">\r
-                       <fileset dir="${libs}/armeabi">\r
-                               <include name="**/*.so"/>\r
-                       </fileset>\r
-               </copy>\r
-               <copy failonerror="false" todir="${distDir}/armeabi-v7a">\r
-                       <fileset dir="${libs}/armeabi-v7a">\r
-                               <include name="**/*.so"/>\r
-                       </fileset>\r
-               </copy>\r
-        <copy failonerror="false" todir="${distDir}/x86">\r
-                       <fileset dir="${libs}/x86">\r
-                               <include name="**/*.so"/>\r
-                       </fileset>\r
-               </copy>\r
        </target>\r
        \r
        <!-- create source and class jar -->\r
@@ -120,7 +104,7 @@ zipfileset id="jarfiles" -> the jar files to be merged with the project's classe
                        </fileset>\r
                </copy>\r
                \r
-               <!-- copy shared libs for android -->\r
+               <!-- copy shared libs for android & ios -->\r
                <copy failonerror="false" todir="${distDir}/armeabi">\r
                        <fileset dir="${libs}/armeabi">\r
                                <include name="**/*.so"/>\r
@@ -136,6 +120,11 @@ zipfileset id="jarfiles" -> the jar files to be merged with the project's classe
                                <include name="**/*.so"/>\r
                        </fileset>\r
                </copy>\r
+        <copy failonerror="false" todir="${distDir}/ios">\r
+                       <fileset dir="${libs}/ios32">\r
+                               <include name="**/*.a"/>\r
+                       </fileset>\r
+               </copy>\r
                \r
                <!-- class jar -->\r
                <jar destfile="${distDir}/${jar}.jar">\r