summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorWade Walker <[email protected]>2015-07-06 15:09:55 -0500
committerWade Walker <[email protected]>2015-07-06 15:09:55 -0500
commit6affe9ce21fddc307712545a38caf735da52c1cf (patch)
treec6153b05a65bc1b85d55472ecec3eef25c77ed82 /make/build.xml
parent5a5a23a533df0ec5f47f94a7bda901e703b25040 (diff)
Add debug targets to match those in gluegen and jogl
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml
index fd61304a..4506e68d 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -80,6 +80,13 @@
<echo message="Loaded ${user.home}/gluegen.properties." />
</target>
+ <target name="set.debug">
+ <property name="c.compiler.debug" value="true" />
+ <property name="c.compiler.optimise" value="none" />
+ <property name="javacdebug" value="true" />
+ <property name="javacdebuglevel" value="source,lines,vars" />
+ </target>
+
<!-- ================================================================== -->
<!--
- Declare all paths and user defined variables.
@@ -938,7 +945,9 @@
<!--
- Build everything.
-->
- <target name="all" depends="jocl.build, test.compile, tag.build, developer-zip-archive"/>
+ <target name="all" description="Release build" depends="jocl.build, test.compile, tag.build, developer-zip-archive"/>
+ <target name="all.debug" description="Debug build" depends="set.debug, jocl.build, test.compile, tag.build, developer-zip-archive"/>
+ <target name="all.ide" description="Debug IDE build, no tagging or archives" depends="set.debug, jocl.build, test.compile"/>
<target name="jocl.build" depends="init">
<!-- Generate and compile the Java sources. -->