summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks.xml
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-28 21:42:38 -0700
committersg215889 <[email protected]>2009-07-28 21:42:38 -0700
commit2eca2e1d82356ef3ddedd0e12cb05861beb1f513 (patch)
tree7e38a5c6f186a23f7cfd3c4e33f2701318d1eddd /make/gluegen-cpptasks.xml
parent6d07c8e77789d21cb04877360723d5364aee26ef (diff)
Proper gluegen.properties loading
Diffstat (limited to 'make/gluegen-cpptasks.xml')
-rwxr-xr-xmake/gluegen-cpptasks.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml
index 5b961c9..66bc549 100755
--- a/make/gluegen-cpptasks.xml
+++ b/make/gluegen-cpptasks.xml
@@ -132,6 +132,10 @@
- &lt;msvc.manifest objdir="${obj}" dllname="gluegen-rt" /&gt;
-->
<project name="GlueGen-cpptasks" basedir=".">
+
+ <!-- import properties -->
+ <import file="gluegen-properties.xml" />
+
<!-- import cpptasks -->
<typedef resource="net/sf/antcontrib/cpptasks/antlib.xml" classpath="${gluegen.root}/make/lib/cpptasks.jar"/>
@@ -139,7 +143,7 @@
<import file="${user.home}/gluegen.compiler.xml" optional="true" />
<!-- Detect OS and compiler configuration -->
- <target name="gluegen.cpptasks.detect.os.1" unless="gluegen.cpptasks.detected.os">
+ <target name="gluegen.cpptasks.detect.os.1" depends="gluegen.properties.load.user" unless="gluegen.cpptasks.detected.os">
<condition property="isOSX">
<and>
<os family="mac"/>
@@ -366,7 +370,7 @@
<target name="gluegen.cpptasks.detect.os.2" depends="gluegen.cpptasks.detect.os.freebsd,gluegen.cpptasks.detect.os.hpux,gluegen.cpptasks.detect.os.linux,gluegen.cpptasks.detect.os.osx,gluegen.cpptasks.detect.os.solaris,gluegen.cpptasks.detect.os.unix,gluegen.cpptasks.detect.os.windows" unless="gluegen.cpptasks.detected.os.2">
</target>
- <target name="gluegen.cpptasks.detect.os" depends="gluegen.cpptasks.detect.os.1,gluegen.cpptasks.detect.os.2">
+ <target name="gluegen.cpptasks.detect.os" depends="gluegen.properties.load.user,gluegen.cpptasks.detect.os.1,gluegen.cpptasks.detect.os.2">
<property name="gluegen.cpptasks.detected.os" value="true" />
<property name="gluegen.cpptasks.detected.os.2" value="true" />
</target>