diff options
author | Sven Gothel <[email protected]> | 2020-01-02 00:55:38 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-02 00:55:38 +0100 |
commit | ddeb3d97ac0911271753a58c077692871b4b4531 (patch) | |
tree | b9d9f7d0be7b3585f62b4518270c0e12047cfa65 /make/scripts/make.jocl.all.ios.amd64.sh | |
parent | 210005dbec34c6c3fa91df27fdca6bd417c5639c (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-x | make/scripts/make.jocl.all.ios.amd64.sh | 32 |
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 |