diff options
author | Sven Gothel <[email protected]> | 2011-04-22 05:20:12 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-22 05:20:12 +0200 |
commit | 9b8021b1b3d740a978e13824c3030f52d6506089 (patch) | |
tree | 46a2b6f521ba4ab541b1252304ee252433d66f65 /make | |
parent | 570d7df455ee0005ced53bddeb05adb04436fe3f (diff) |
ant all.ide target: use all debug flags (+vars)
Diffstat (limited to 'make')
-rw-r--r-- | make/build-common.xml | 8 | ||||
-rw-r--r-- | make/build.xml | 3 |
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"/> |