summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 13:19:10 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-08 13:19:10 (GMT)
commit8c1460653e8f21b9e09324617836aeec18f350b7 (patch)
tree16e68097c0f17ec6c8b72dfd5d6c6b123903db81 /Source
parentad91d0edd5b8e56dc6afffa38e01bcc7d0d265cd (diff)
parentbf11253163b54f7c18b001cb00973a6341ee859b (diff)
downloadCMake-8c1460653e8f21b9e09324617836aeec18f350b7.zip
CMake-8c1460653e8f21b9e09324617836aeec18f350b7.tar.gz
CMake-8c1460653e8f21b9e09324617836aeec18f350b7.tar.bz2
Merge topic 'add-apple-swift-language'
bf112531 Add rudimentary support for the Apple Swift language with Xcode
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 505929e..21075bb 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -843,6 +843,10 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
{
sourcecode += ".c.objc";
}
+ else if (ext == "swift")
+ {
+ sourcecode += ".swift";
+ }
else if(ext == "plist")
{
sourcecode += ".text.plist";