Преглед на файлове

Xcode: Add special case for file type extension map for .xcassets

Gusts Kaksis преди 5 години
родител
ревизия
dc0898205c
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      Source/cmGlobalXCodeGenerator.cxx

+ 3 - 0
Source/cmGlobalXCodeGenerator.cxx

@@ -1020,6 +1020,9 @@ std::string GetSourcecodeValueFromFileExtension(
   } else if (ext == "dylib") {
   } else if (ext == "dylib") {
     keepLastKnownFileType = true;
     keepLastKnownFileType = true;
     sourcecode = "compiled.mach-o.dylib";
     sourcecode = "compiled.mach-o.dylib";
+  } else if (ext == "xcassets") {
+    keepLastKnownFileType = true;
+    sourcecode = "folder.assetcatalog";
   }
   }
   // else
   // else
   //  {
   //  {