blob: bf23673130ece1ae505ae60fa8bff5afde0b6c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#! /bin/bash
set -x
JOGAMP_VERSION=v2.3.2
#JOGAMP_VERSION=v2.2.4
unset SDKROOT
CLASSPATH=".:/Users/jogamp/projects/JogAmp/builds/$JOGAMP_VERSION/jogamp-all-platforms/jar/gluegen-rt.jar:/Users/jogamp/projects/JogAmp/builds/$JOGAMP_VERSION/jogamp-all-platforms/jar/jogl-all.jar"
#CLASSPATH=".:/Users/jogamp/projects/JogAmp/gluegen/build/gluegen-rt.jar:/Users/jogamp/projects/JogAmp/jogl/build/jar/jogl-all.jar"
ok=0
# Default macosx10.15 SDK on XCode 11
xcrun --sdk macosx10.15 clang -x objective-c -framework Cocoa \
-o Bug1398LauncherSDK1015 Bug1398Launcher.c \
&& ok=1
# Non-Default macosx10.11 SDK (JogAmp builds)
xcrun --sdk macosx10.11 clang -x objective-c -framework Cocoa \
-o Bug1398LauncherSDK1011 Bug1398Launcher.c \
&& ok=1
if [ $ok -eq 1 ] ; then
javac -source 1.8 -target 1.8 -classpath $CLASSPATH RedSquareES2.java Bug1398MainClass.java
fi
|