summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-09-12 01:57:45 +0200
committerSven Gothel <[email protected]>2013-09-12 01:57:45 +0200
commit2cdd1070056c0f7e9dc7f40de19c2bfdfef0432a (patch)
treeaacbd861bf10565505e710ce693bf2e3cbc35e3b /src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java
parent2603158cb1a0ff29f5a23de4c0ba2ce759f574cf (diff)
Add 'clang' and 'clang++' support (compiler/linker)
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java')
-rw-r--r--src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java b/src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java
index df96723..7421923 100644
--- a/src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java
+++ b/src/main/java/net/sf/antcontrib/cpptasks/LinkerEnum.java
@@ -41,13 +41,15 @@ import net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomFortranLinker;
/**
* Enumeration of supported linkers
*
- * @author Curt Arnold
+ * @author Curt Arnold, et.al.
*
*/
public class LinkerEnum extends EnumeratedAttribute {
private final static ProcessorEnumValue[] linkers = new ProcessorEnumValue[]{
new ProcessorEnumValue("gcc", GccLinker.getInstance()),
new ProcessorEnumValue("g++", GppLinker.getInstance()),
+ new ProcessorEnumValue("clang", GccLinker.getCLangInstance()),
+ new ProcessorEnumValue("clang++", GppLinker.getCLangInstance()),
new ProcessorEnumValue("ld", LdLinker.getInstance()),
new ProcessorEnumValue("ar", GccLibrarian.getInstance()),
new ProcessorEnumValue("msvc", DevStudioLinker.getInstance()),