diff options
author | Brad King <brad.king@kitware.com> | 2015-04-02 16:57:18 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-04-02 16:57:18 (GMT) |
commit | 1a775917a5bf012d5b0610f6b01d8438fca6d12f (patch) | |
tree | 6242e11d4638f630a7a9b12cece4521aff6ab68b /Source | |
parent | f707460e42949e4ca372bf23892a7d6fb9eb1b86 (diff) | |
parent | 078c732185ff610c55707ae66be0a787c78bd2e2 (diff) | |
download | CMake-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.cxx | 4 |
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" |