aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/build-common.xml8
-rw-r--r--make/build.xml3
2 files changed, 9 insertions, 2 deletions
diff --git a/make/build-common.xml b/make/build-common.xml
index 8f8f33d12..c2ddae69a 100644
--- a/make/build-common.xml
+++ b/make/build-common.xml
@@ -32,6 +32,13 @@
<!--
- Base initialization of properties and detection of operating system.
-->
+ <target name="set.debug">
+ <property name="c.compiler.debug" value="true" />
+ <property name="javacdebug" value="true" />
+ <property name="javacdebuglevel" value="source,lines,vars" />
+ </target>
+ <target name="common.init.debug" depends="set.debug, common.init"/>
+
<target name="common.init" depends="jogamp.env.init, gluegen.cpptasks.detect.os" unless="common.init.done">
<property name="common.init.done" value="true" />
@@ -146,7 +153,6 @@
<!-- 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" />
- <!--property name="javacdebug" value="true" /-->
<!--property name="javacdebuglevel" value="source,lines,vars" /-->
<!-- property name="javac.memorymax" value="128m" /--> <!-- I ran out of memory with these .. linux x86_64 6u14 -->
<property name="javac.memorymax" value="512m" />
diff --git a/make/build.xml b/make/build.xml
index 3757924dd..6dc856367 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -12,7 +12,7 @@
<target name="all.but-archives" description="Build nativewindow, jogl and newt projects, incl. all junit tests " depends="init,build.nativewindow,build.jogl,build.newt,test.compile,one.dir,tag.build" />
- <target name="all.ide" description="Build nativewindow, jogl and newt projects, including all junit tests, but don't copy libs or JARs or tag the build" depends="init,build.nativewindow,build.jogl,build.newt,test.compile,one.dir" />
+ <target name="all.ide" description="Debug IDE build nativewindow, jogl and newt projects, including all junit tests, but don't tag the build or create archives" depends="init.debug,build.nativewindow,build.jogl,build.newt,test.compile,one.dir" />
<target name="test.compile">
<ant antfile="build-test.xml" target="test.compile" inheritRefs="true" inheritAll="true"/>
@@ -61,6 +61,7 @@
-->
<target name="init" depends="common.init" />
+ <target name="init.debug" depends="common.init.debug" />
<target name="build.nativewindow" depends="init">
<ant antfile="${nativewindow.build.xml}" dir="${nativewindow.make}" target="all" inheritRefs="true" inheritAll="true"/>