diff options
author | David Cole <david.cole@kitware.com> | 2009-02-19 16:20:09 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-02-19 16:20:09 (GMT) |
commit | 6e87aa49e677bcfa87ed86e4b3a7b1c8d9ce4814 (patch) | |
tree | 4ab5aaa28c089028ebc9460ad7f5047fb62641ee /Source/cmGlobalXCodeGenerator.cxx | |
parent | 1bf669207b2f3dcc21bd3f3f0b88535a34f4a8aa (diff) | |
download | CMake-6e87aa49e677bcfa87ed86e4b3a7b1c8d9ce4814.zip CMake-6e87aa49e677bcfa87ed86e4b3a7b1c8d9ce4814.tar.gz CMake-6e87aa49e677bcfa87ed86e4b3a7b1c8d9ce4814.tar.bz2 |
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.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 0fada8d..f110c20 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/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"; |