summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks-base.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/gluegen-cpptasks-base.xml')
-rwxr-xr-xmake/gluegen-cpptasks-base.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml
index a475c16..7f5c30b 100755
--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -166,6 +166,13 @@
<!-- NOTE: the value of the debug attribute will not be overridden if already set externally -->
<property name="c.compiler.debug" value="false" />
+ <condition property="c.compiler.use-debug"><istrue value="${c.compiler.debug}"/></condition>
+ <!-- Optimise flags one of { none, size, speed, minimal, full, aggressive, extreme, unsafe } -->
+ <property name="c.compiler.optimise" value="none" />
+
+ <echo message="c.compiler.debug=${c.compiler.debug}" />
+ <echo message="c.compiler.use-debug=${c.compiler.use-debug}" />
+ <echo message="c.compiler.optimise=${c.compiler.optimise}" />
<condition property="c.strip.libraries"><isfalse value="${c.compiler.debug}"/></condition>