add vtm-gdx-ios
This commit is contained in:
@@ -17,8 +17,14 @@
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
|
||||
@@ -1,25 +1,14 @@
|
||||
<project name="vtm-jni-natives" basedir="." default="all">
|
||||
<target name="clean">
|
||||
<ant antfile="build-windows32.xml" target="clean"/>
|
||||
<ant antfile="build-windows64.xml" target="clean"/>
|
||||
<ant antfile="build-linux64.xml" target="clean"/>
|
||||
<ant antfile="build-android32.xml" target="clean"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="compile-natives">
|
||||
<ant antfile="build-windows32.xml"/>
|
||||
<ant antfile="build-windows64.xml"/>
|
||||
<ant antfile="build-linux64.xml"/>
|
||||
<ant antfile="build-android32.xml"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="pack-natives">
|
||||
<jar destfile="../libs/vtm-jni-natives.jar">
|
||||
<fileset dir="../libs/windows32" includes="vtm-jni.dll"/>
|
||||
<fileset dir="../libs/windows64" includes="vtm-jni64.dll"/>
|
||||
<fileset dir="../libs/linux64" includes="libvtm-jni64.so"/>
|
||||
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
@@ -81,11 +81,11 @@ public class JniBuilder {
|
||||
android.cppFlags += cflags;
|
||||
android.linkerFlags += " -llog";
|
||||
|
||||
// BuildTarget ios = BuildTarget.newDefaultTarget(TargetOs.IOS, false);
|
||||
// ios.headerDirs = headers;
|
||||
// ios.cIncludes = sources;
|
||||
// ios.cFlags += cflags;
|
||||
// ios.cppFlags += cflags;
|
||||
BuildTarget ios = BuildTarget.newDefaultTarget(TargetOs.IOS, false);
|
||||
ios.headerDirs = headers;
|
||||
ios.cIncludes = sources;
|
||||
ios.cFlags += cflags;
|
||||
ios.cppFlags += cflags;
|
||||
|
||||
//new NativeCodeGenerator().generate();
|
||||
new AntScriptGenerator().generate(new BuildConfig("vtm-jni"),
|
||||
@@ -94,8 +94,9 @@ public class JniBuilder {
|
||||
// win32,
|
||||
// win64,
|
||||
// lin32,
|
||||
lin64,
|
||||
android);
|
||||
//lin64,
|
||||
//android
|
||||
ios);
|
||||
|
||||
// BuildExecutor.executeAnt("jni/build-windows32home.xml", "-v clean");
|
||||
// BuildExecutor.executeAnt("jni/build-windows32home.xml", "-v");
|
||||
|
||||
Reference in New Issue
Block a user