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.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml
index fb721dd..a475c16 100755
--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -192,6 +192,17 @@
</condition>
</target>
+ <!-- Custom target which can be overwritten
+ by a custom file set in property 'gluegen-cpptasks.file'
+ or environment var 'GLUEGEN_CPPTASKS_FILE'
+
+ See 'lib/gluegen-cpptasks-linux-armv7.xml' which sets OS and ARCH
+ for crosscompilation.
+ -->
+ <target name="gluegen.cpptasks.detect.os.custom">
+ <echo message="gluegen.cpptasks.detect.os.custom: NOP done"/>
+ </target>
+
<!-- Detect OS and compiler configuration -->
<target name="gluegen.cpptasks.detect.os.1" depends="gluegen.cpptasks.initialize" unless="gluegen.cpptasks.detected.os">
<condition property="is64Bit">
@@ -623,7 +634,7 @@
<echo message="os and arch: ${os.and.arch}" />
</target>
- <target name="gluegen.cpptasks.detect.os" depends="gluegen.properties.load.user,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.custom,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" />