diff options
author | Sean James <seanjames777@gmail.com> | 2015-04-01 19:02:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-01 19:15:22 (GMT) |
commit | 078c732185ff610c55707ae66be0a787c78bd2e2 (patch) | |
tree | ac9ae717e928c676df55f27acfe2af89807a9b04 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 0de7807c36ebfbaadf0e9b45bdf9fd79360c8eaf (diff) | |
download | CMake-078c732185ff610c55707ae66be0a787c78bd2e2.zip CMake-078c732185ff610c55707ae66be0a787c78bd2e2.tar.gz CMake-078c732185ff610c55707ae66be0a787c78bd2e2.tar.bz2 |
Xcode: Add file type for Metal shader files
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-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" |