summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 0f5b7d0..9a83b03 100644
--- a/build.xml
+++ b/build.xml
@@ -18,15 +18,16 @@
<import file="${gluegen.root}/make/jogamp-env.xml" />
<import file="${gluegen.root}/make/jogamp-archivetasks.xml" />
+ <target name="set.debug">
+ <property name="javacdebug" value="true" />
+ <property name="javacdebuglevel" value="source,lines,vars" />
+ </target>
+
<target name="-pre-init" depends="jogamp.env.init">
<property name="javac.debug" value="${javacdebug}"/>
+ <property name="javac.debuglevel" value="${javacdebuglevel}"/>
<property name="javac.source" value="${target.sourcelevel}"/>
<property name="javac.target" value="${target.targetlevel}"/>
-
- <property name="c.compiler.debug" value="true" />
- <property name="javacdebug" value="true" />
- <property name="javacdebuglevel" value="source,lines,vars" />
-
<property name="javac.compilerargs" value="-bootclasspath '${target.rt.jar}' -Xlint -g:${javacdebuglevel}"/>
</target>
@@ -129,4 +130,8 @@
</copy>
</target>
+ <target name="all" description="Release build" depends="default"/>
+ <target name="all.debug" description="Debug build" depends="set.debug, default"/>
+ <target name="all.ide" description="Debug IDE build, no tagging or archives" depends="set.debug, compile"/>
+
</project>