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/lib/gluegen-cpptasks-linux-armv7.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/lib/gluegen-cpptasks-linux-armv7.xml')
-rw-r--r-- | make/lib/gluegen-cpptasks-linux-armv7.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/make/lib/gluegen-cpptasks-linux-armv7.xml b/make/lib/gluegen-cpptasks-linux-armv7.xml new file mode 100644 index 0000000..09c5f9f --- /dev/null +++ b/make/lib/gluegen-cpptasks-linux-armv7.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + This is an example of how to add custom compiler/linker + arguments for a crosscompiler. + + You can use such files with setting the property 'gluegen-cpptasks.file', ie: + + -Dgluegen-cpptasks.file=`pwd`/lib/gluegen-cpptasks-linux-32bit.xml + + In case you want to compile for 32bit on a 64bit machine, + you might also need to set the 'os.arch' to 'x86'. + Example: gluegen/make/make.gluegen.all.linux-x86.sh + --> + +<project name="GlueGen-cpptasks-linux-armv7" basedir="." > + +<!-- Set OS and ARCH for crosscompilation compiler configuration --> +<target name="gluegen.cpptasks.detect.os.custom"> + <property name="gluegen.cpptasks.detected.os" value="true" /> + <property name="isUnix" value="true" /> + <property name="isLinux" value="true" /> + <property name="isLinuxARMv7" value="true" /> + <property name="isX11" value="true" /> + <property name="jvmDataModel.arg" value="-Djnlp.no.jvm.data.model.set=true" /> + <property name="isCrosscompilation" value="true" /> + + <echo message="gluegen.cpptasks.detect.os.custom: GLUEGEN_CPPTASKS_FILE 'gluegen-cpptasks-linux-armv7' done"/> +</target> + +<import file="../gluegen-cpptasks-base.xml" optional="false" /> + +</project> + + |