aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-08-12 13:26:44 +0000
committerSven Gothel <[email protected]>2008-08-12 13:26:44 +0000
commit79518c0e5b4be7512979b1643f78bb2e53c6f1d6 (patch)
treee00f566d2e18c5e4ddb4754eaf23bcf9c5ce42ad /make
parent65d46b634610cfb40f0ed25394bc0058b6ef420d (diff)
Adding build.xml property: 'javacdebug' and 'javacdebuglevel',
to optionally disable the debug information in the result. This speeds up the runtime on the handheld! .. ImmModeSink: Experimental disable VBO usage (perf. tests) in case high frequency data change has an impact (-> Ragdoll). (Negative ..) .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1751 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/build.xml10
-rw-r--r--make/make.jogl.cdcfp.linux-x86.sh4
2 files changed, 11 insertions, 3 deletions
diff --git a/make/build.xml b/make/build.xml
index 27b1485c9..ac154ba0c 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -332,6 +332,10 @@
- validate to ensure that all user-define variables are set. -->
<property name="validate.user.properties" value="${make}/validate-properties.xml" />
+ <!-- NOTE: the value of the debug and optimise attributes will not be overridden if already set externally -->
+ <property name="javacdebug" value="true" />
+ <property name="javacdebuglevel" value="source,lines" />
+
<!-- GlueGen properties. -->
<!-- NOTE that these require a checked-out GlueGen workspace as a -->
<!-- sibling of the JOGL workspace. -->
@@ -1022,7 +1026,7 @@
includes="javax/media/opengl/GLDrawableFactory.java javax/media/opengl/GLDrawable.java javax/media/opengl/GLContext.java javax/media/opengl/GL.java javax/media/opengl/GL2ES1.java javax/media/opengl/GL2ES2.java javax/media/opengl/GL2.java javax/media/opengl/GLES1.java javax/media/opengl/GLES2.java"
fork="yes"
memoryMaximumSize="128m"
- source="1.4" debug="true" debuglevel="source,lines">
+ source="1.4" debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<src path="${src.java}" />
<src path="${src.generated.java}" />
</javac>
@@ -1037,7 +1041,7 @@
bootclasspath="${javac.bootclasspath.jar}"
fork="yes"
memoryMaximumSize="128m"
- debug="true" debuglevel="source,lines">
+ debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<src path="${src.java}" />
<src path="${src.generated.java}" />
</javac>
@@ -1051,7 +1055,7 @@
classpath="${gluegen-rt.jar}"
fork="yes"
memoryMaximumSize="128m"
- debug="true" debuglevel="source,lines">
+ debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<src path="${src.java}" />
<src path="${src.generated.java}" />
</javac>
diff --git a/make/make.jogl.cdcfp.linux-x86.sh b/make/make.jogl.cdcfp.linux-x86.sh
index e8caa4b57..3c87aa004 100644
--- a/make/make.jogl.cdcfp.linux-x86.sh
+++ b/make/make.jogl.cdcfp.linux-x86.sh
@@ -3,8 +3,12 @@
. ../../setenv-build-jogl.sh
# -Dc.compiler.debug=true
+# -Djavacdebug="false"
+# -Djavacdebuglevel=""
ant -v \
+ -Djavacdebug="false" \
+ -Djavacdebuglevel="none" \
-Djogl.cdcfp=true \
-Dgluegen.cpptasks.detected.os=true \
-DisUnix=true \