summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-02 16:57:18 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-02 16:57:18 (GMT)
commit1a775917a5bf012d5b0610f6b01d8438fca6d12f (patch)
tree6242e11d4638f630a7a9b12cece4521aff6ab68b /Source
parentf707460e42949e4ca372bf23892a7d6fb9eb1b86 (diff)
parent078c732185ff610c55707ae66be0a787c78bd2e2 (diff)
downloadCMake-1a775917a5bf012d5b0610f6b01d8438fca6d12f.zip
CMake-1a775917a5bf012d5b0610f6b01d8438fca6d12f.tar.gz
CMake-1a775917a5bf012d5b0610f6b01d8438fca6d12f.tar.bz2
Merge topic 'xcode-source-type-metal'
078c7321 Xcode: Add file type for Metal shader files
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 f139ad1..5e584a4 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -865,6 +865,10 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
{
sourcecode += ".asm";
}
+ else if (ext == "metal")
+ {
+ sourcecode += ".metal";
+ }
//else
// {
// // Already specialized above or we leave sourcecode == "sourcecode"