diff options
author | Sven Gothel <[email protected]> | 2012-02-24 04:35:53 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-24 04:35:53 +0100 |
commit | a17170a3ec4ed338d902eaaa3b17e9dbb69b6374 (patch) | |
tree | 02f256d42cabb7c1537801add878cf87c11170b9 /make/gluegen-cpptasks-base.xml | |
parent | 9520a52d504cc6219ca5027e4bde4b8280463879 (diff) |
Exposing custom gluegen-cpptask.file for crosscompilation presets, adding gluegen-cpptasks-linux-armv7.xml
Env: GLUEGEN_CPPTASKS_FILE -> property: gluegen-cpptasks.file
Diffstat (limited to 'make/gluegen-cpptasks-base.xml')
-rwxr-xr-x | make/gluegen-cpptasks-base.xml | 13 |
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" /> |