Przeglądaj źródła

BUG: Fix issue #8253 - handle xib file extension in Xcode projects so that double clicking on xib files opens them up in Interface Builder. Thanks to baron_roberts for the patch.

David Cole 16 lat temu
rodzic
commit
6e87aa49e6
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      Source/cmGlobalXCodeGenerator.cxx

+ 4 - 0
Source/cmGlobalXCodeGenerator.cxx

@@ -556,6 +556,10 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf,
     {
     sourcecode = "compiled.mach-o.objfile";
     }
+  else if(ext == "xib")
+    {
+    sourcecode = "file.xib";
+    }
   else if(ext == "mm")
     {
     sourcecode += ".cpp.objcpp";