diff options
author | Sven Gothel <[email protected]> | 2013-09-13 12:53:50 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-13 12:53:50 +0200 |
commit | 040bba68fc5e06414176f8e7887c83be20dab0f0 (patch) | |
tree | 265a05d4e3b0c5468324130cb82301cb4dd05d4e /make/gluegen-properties.xml | |
parent | ce9a936961d64e6cf6c54b35f997d564491ffd93 (diff) |
Add clang support: 'gluegen.properties' adds 'gcc.compat.compiler' = ['gcc', 'clang']; Use 'gcc.compat.compiler' for all gcc based compiler/linker definitions.
Diffstat (limited to 'make/gluegen-properties.xml')
-rwxr-xr-x | make/gluegen-properties.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/gluegen-properties.xml b/make/gluegen-properties.xml index 7efc4c1..cac32bb 100755 --- a/make/gluegen-properties.xml +++ b/make/gluegen-properties.xml @@ -6,6 +6,9 @@ - This Ant project file depends on the following properties being set - externally: - + - gcc.compat.compiler + - either "gcc" (default) or "clang" + - - win32.c.compiler (required to be set on Windows): - one of "vc6", "vc7", "vc8", "mingw32" (default) or "mingw64". - c.compiler.debug: @@ -79,6 +82,9 @@ <property name="ant-junit-all.apk" value="${gluegen.root}/make/lib/ant-junit-all.apk" /> + <!-- maybe overriden, e.g. with "clang" --> + <property name="gcc.compat.compiler" value="gcc"/> + <condition property="win32.c.compiler" value="mingw64"> <and> <os family="windows" /> |