diff options
author | Sven Gothel <[email protected]> | 2020-01-02 00:31:48 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-02 00:31:48 +0100 |
commit | a997ae58e7928f27fa618d9c06c7ffb2eb879709 (patch) | |
tree | 67a7624fff8728def4661350464823bcc0c63047 | |
parent | d55d9ca622412bb3e5ce4162e0e896451c6ea399 (diff) |
Add iOS build scripts
-rwxr-xr-x | make/scripts/make.joal.all.ios.amd64.sh | 36 | ||||
-rwxr-xr-x | make/scripts/make.joal.all.ios.arm64.sh | 36 |
2 files changed, 72 insertions, 0 deletions
diff --git a/make/scripts/make.joal.all.ios.amd64.sh b/make/scripts/make.joal.all.ios.amd64.sh new file mode 100755 index 0000000..c3c5495 --- /dev/null +++ b/make/scripts/make.joal.all.ios.amd64.sh @@ -0,0 +1,36 @@ +#! /bin/sh + +if [ -e /usr/local/etc/profile.ant ] ; then + . /usr/local/etc/profile.ant +fi + +# -Dc.compiler.debug=true +# +# -Dtarget.sourcelevel=1.6 \ +# -Dtarget.targetlevel=1.6 \ +# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ + +# Force OSX SDK 10.6, if desired +# export SDKROOT=macosx10.6 + +export SDKROOT=iphonesimulator13.2 +xcrun --show-sdk-path + +JAVA_HOME=`/usr/libexec/java_home -version 11` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH +which java +java -version + +export SOURCE_LEVEL=1.8 +export TARGET_LEVEL=1.8 +export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar + +export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-amd64.xml + +#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" +export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet" + +ant \ + -Drootrel.build=build-ios-amd64 \ + $* 2>&1 | tee make.joal.all.ios-amd64.log diff --git a/make/scripts/make.joal.all.ios.arm64.sh b/make/scripts/make.joal.all.ios.arm64.sh new file mode 100755 index 0000000..8ab3b27 --- /dev/null +++ b/make/scripts/make.joal.all.ios.arm64.sh @@ -0,0 +1,36 @@ +#! /bin/sh + +if [ -e /usr/local/etc/profile.ant ] ; then + . /usr/local/etc/profile.ant +fi + +# -Dc.compiler.debug=true +# +# -Dtarget.sourcelevel=1.6 \ +# -Dtarget.targetlevel=1.6 \ +# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ + +# Force OSX SDK 10.6, if desired +# export SDKROOT=macosx10.6 + +export SDKROOT=iphoneos13.2 +xcrun --show-sdk-path + +JAVA_HOME=`/usr/libexec/java_home -version 11` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH +which java +java -version + +export SOURCE_LEVEL=1.8 +export TARGET_LEVEL=1.8 +export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar + +export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-aarch64.xml + +#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" +export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet" + +ant \ + -Drootrel.build=build-ios-arm64 \ + $* 2>&1 | tee make.joal.all.ios-arm64.log |