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.

This commit is contained in:
David Cole 2009-02-19 11:20:09 -05:00
parent 1bf669207b
commit 6e87aa49e6
1 changed files with 4 additions and 0 deletions

View File

@ -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";