mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05:00
Xcode: Add file type for Metal shader files
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user