Commit 60838ea3 authored by ebruneton's avatar ebruneton
Browse files

added property to compile in debug mode

parent ce77e639
......@@ -106,7 +106,7 @@
<!-- ========== COMPILE ========== -->
<!-- =================================== -->
<target name="compile" depends="init">
<target name="compile.normal" depends="init" unless="debug">
<mkdir dir="${out.build}/tmp"/>
<javac destdir="${out.build}/tmp" optimize="on">
<classpath>
......@@ -123,16 +123,21 @@
<arg value="${out.build}/tmp"/>
<arg value="${out.build}"/>
</java>
<!--mkdir dir="${out.build}"/>
</target>
<target name="compile.debug" depends="init" if="debug">
<mkdir dir="${out.build}"/>
<javac destdir="${out.build}" debug="on">
<classpath>
<pathelement location="${out.build}"/>
</classpath>
<src path="${src}"/>
<include name="**/*.java"/>
</javac-->
</javac>
</target>
<target name="compile" depends="compile.normal,compile.debug"/>
<!-- =================================== -->
<!-- ========== TEST ========== -->
<!-- =================================== -->
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment