From bf11253163b54f7c18b001cb00973a6341ee859b Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 6 Jul 2015 16:15:49 -0400 Subject: Add rudimentary support for the Apple Swift language with Xcode Allow the `Swift` language to be enabled with the Xcode generator for Xcode >= 6.1. Reject it on other generators and with older Xcode versions. Since Apple is the only vendor implementing the language right now, the compiler id can be just `Apple`. --- Modules/CompilerId/main.swift.in | 1 + 1 file changed, 1 insertion(+) create mode 100644 Modules/CompilerId/main.swift.in (limited to 'Modules/CompilerId') diff --git a/Modules/CompilerId/main.swift.in b/Modules/CompilerId/main.swift.in new file mode 100644 index 0000000000..962e85728e --- /dev/null +++ b/Modules/CompilerId/main.swift.in @@ -0,0 +1 @@ +println("CMakeSwiftCompilerId") -- cgit v1.2.1