Explorar el Código

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 hace 17 años
padre
commit
6e87aa49e6
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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";