#! /bin/bash
scriptdir=`dirname $0`
function print_usage() {
echo "Usage: $0 [-libdir pre-lib-dir] jogl-build-dir ..."
}
if [ "$1" = "-libdir" ] ; then
shift
if [ -z "$1" ] ; then
echo libdir argument missing
print_usage
exit
fi
PRELIB=$1
shift
LD_LIBRARY_PATH=$PRELIB:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
fi
if [ -z "$1" ] ; then
echo JOGL BUILD DIR missing
print_usage
exit
fi
. $scriptdir/setenv-jogl.sh $1 JOGL_ALLALL
shift
MOSX=0
uname -a | grep -i Darwin && MOSX=1
# D_ARGS="-Dgluegen.debug.ProcAddressHelper=true -Dgluegen.debug.NativeLibrary=true -Dnativewindow.debug=all -Djogl.debug=all -Dnewt.debug=all"
# D_ARGS="-Dnativewindow.debug=all -Djogl.debug=all -Dnewt.debug=all -Djogl.debug.GLSLState"
# D_ARGS="-Dnativewindow.debug.X11Util=true -Djogl.debug.GLDrawableFactory=true"
# D_ARGS="-Dnativewindow.debug.X11Util=true"
# D_ARGS="-Dnewt.debug=all"
echo java $X_ARGS $D_ARGS $* 2>&1 | tee java-run.log
java $X_ARGS $D_ARGS $* 2>&1 | tee -a java-run.log
tion>
BLACKBIRD
JOGL_2_SANDBOX
JSR-231
MIPS_PORT
Sun_Microsystem
b01
b202_gl44
b22x
bug1294
bug1398
egl-gbm
glctx_deadlock
ios
java11
javafx
jogl-1-1-temp-branch
master
merging
new_gl_headers
pulled
rc
rc_five
tegra-graph-shader_dosplit_dodiscard-freeze
tegra-graph-shader_dosplit_nodiscard-ok
tegra-graph-shader_nosplit_dodiscard_original-freeze
tegra-graph-shader_nosplit_nodiscard-errorP1202
travis
v2.0-rc2-maintenance
v2.3.1_winexe
x11_xinitthreads
xcb-test
blob: 52ea33a3339fc673866eb60e3d391feab71a0a15 (
plain )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set THISDIR= "C:\JOGL"
set J2RE_HOME= c: \jre1.6.0 _30_x32
set JAVA_HOME= c: \jdk1.6.0 _30_x32
set ANT_PATH= C: \a pache- ant- 1.8.2
set PATH = %JAVA_HOME% \b in; %ANT_PATH% \b in; c: \mingw\b in; %PATH%
set LIB_GEN= %THISDIR% \lib
set CLASSPATH= .; %THISDIR% \b uild- win32\classes
REM -Dc.compiler.debug=true
REM -Dsetup.addNativeOpenMAX=true
REM -Dsetup.addNativeKD=true
ant - Drootrel.build= build- win32 % 1 % 2 % 3 % 4 % 5 % 6 % 7 % 8 % 9 > make.jogl.all.win32.log 2 >& 1