summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks-base.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-07 02:21:12 +0100
committerSven Gothel <[email protected]>2012-03-07 02:21:12 +0100
commit67a89a1d9ff17c4d6815e21502c55bf533b62416 (patch)
tree3b3467d25faec0d5691a7fecf0613894c7612c20 /make/gluegen-cpptasks-base.xml
parentf303bc43437e2fa6ccc8d3f8facd2e5dc7c55069 (diff)
build: Move c.compiler.debug, c.compiler.use-debug and c.compiler.optimise from build.xml -> gluegen-cpptasks-base.xml
- unifies definition - echo values
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>