Просмотр исходного кода

Merge topic 'xcode-source-type-metal'

078c7321 Xcode: Add file type for Metal shader files
Brad King 11 лет назад
Родитель
Сommit
1a775917a5
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Source/cmGlobalXCodeGenerator.cxx

+ 4 - 0
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"