aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-02 00:31:48 +0100
committerSven Gothel <[email protected]>2020-01-02 00:31:48 +0100
commita997ae58e7928f27fa618d9c06c7ffb2eb879709 (patch)
tree67a7624fff8728def4661350464823bcc0c63047 /make/scripts
parentd55d9ca622412bb3e5ce4162e0e896451c6ea399 (diff)
Add iOS build scripts
Diffstat (limited to 'make/scripts')
-rwxr-xr-xmake/scripts/make.joal.all.ios.amd64.sh36
-rwxr-xr-xmake/scripts/make.joal.all.ios.arm64.sh36
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