summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jocl.all.ios.amd64.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-02 00:55:38 +0100
committerSven Gothel <[email protected]>2020-01-02 00:55:38 +0100
commitddeb3d97ac0911271753a58c077692871b4b4531 (patch)
treeb9d9f7d0be7b3585f62b4518270c0e12047cfa65 /make/scripts/make.jocl.all.ios.amd64.sh
parent210005dbec34c6c3fa91df27fdca6bd417c5639c (diff)
all build scripts: make.jocl.all-host-macos.sh make.jocl.all-host-linux.sh ; Add iOS build scripts
Diffstat (limited to 'make/scripts/make.jocl.all.ios.amd64.sh')
-rwxr-xr-xmake/scripts/make.jocl.all.ios.amd64.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/make/scripts/make.jocl.all.ios.amd64.sh b/make/scripts/make.jocl.all.ios.amd64.sh
new file mode 100755
index 00000000..d8c964f9
--- /dev/null
+++ b/make/scripts/make.jocl.all.ios.amd64.sh
@@ -0,0 +1,32 @@
+#! /bin/sh
+
+if [ -e /usr/local/etc/profile.ant ] ; then
+ . /usr/local/etc/profile.ant
+fi
+
+# -Dc.compiler.debug=true
+
+# 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.jocl.all.ios-amd64.log