| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008253 | CMake | CMake | public | 2008-12-07 14:51 | 2010-12-14 18:45 |
|
| Reporter | Baron L. Roberts | |
| Assigned To | David Cole | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | CMake-2-6 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0008253: XIB files treated as source code rather than IB files when opened |
| Description | When generating an XCode project containing XIB files (XML Interface Builder), CMake 2.6.2 assigns the file the type "sourcecode". This results in the XIB file being opened in the source code editor when double-clicked in XCode. The attached patch addes the "xib" extension to cmGlobalXCodeGenerator.cxx. Once this patch is applied, double-clicking on the XIB file opens it in the Interface Builder tool as expected. |
| Tags | No tags attached. |
|
| Attached Files | xib-patch.txt [^] (501 bytes) 2008-12-07 14:51 [Show Content] [Hide Content]diff -Naur cmake-2.6.2/Source/cmGlobalXCodeGenerator.cxx cmake-cthing-2.6.2/Source/cmGlobalXCodeGenerator.cxx
--- cmake-2.6.2/Source/cmGlobalXCodeGenerator.cxx 2008-09-24 11:34:36.000000000 -0700
+++ cmake-dash-2.6.2/Source/cmGlobalXCodeGenerator.cxx 2008-12-05 00:39:01.000000000 -0800
@@ -537,6 +537,10 @@
{
sourcecode = "compiled.mach-o.objfile";
}
+ else if(ext == "xib")
+ {
+ sourcecode = "file.xib";
+ }
else if(ext == "mm")
{
sourcecode += ".cpp.objcpp";
|
|