MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013082 | CMake | CMake | public | 2012-03-30 17:23 | 2012-09-03 16:02 | |||||
Reporter | Michael Toy | |||||||||
Assigned To | David Cole | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | |||||
Product Version | CMake 2.8.7 | |||||||||
Target Version | CMake 2.8.8 | Fixed in Version | CMake 2.8.8 | |||||||
Summary | 0013082: Projects without a build configuration called "Debug" do not load in XCode 4.3 | |||||||||
Description | If CMAKE_CONFIGURATION_TYPES does not include a configuration called "Debug", then the generated XCode project will not load in XCode 4.3. You get the message: "Project *mumble*.xcodeproj cannot be opened: The project contains has no default build configuration - it may have been damaged" Examining the project file, I see this reference to a non existent configuration "Debug", which, if I edit by hand to a legal configuration, allows XCode 4.3 to open the project. /* Begin XCConfigurationList section */ 112307722465449CAB35CE62 /* Build configuration list for PBXProject "MUMBLE" */ = { isa = XCConfigurationList; buildConfigurations = ( 405A72F866C04328BAC5995E /* Release */, 4337EF4DA71245D9A159CB90 /* Instrumented */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; Which is caused by these lines in cmGlobalXCodeGenerator.cxx ( from method cmGlobalXCodeGenerator::CreateXCodeObjects ) std::string comment = "Build configuration list for PBXProject "; comment += " \""; comment += this->CurrentProject; comment += "\""; configlist->SetComment(comment.c_str()); configlist->AddAttribute("defaultConfigurationIsVisible", this->CreateString("0")); configlist->AddAttribute("defaultConfigurationName", this->CreateString("Debug")); | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-03-30 17:23 | Michael Toy | New Issue | ||||||||
2012-03-30 17:57 | Michael Toy | Note Added: 0029018 | ||||||||
2012-04-02 08:38 | Brad King | Relationship added | related to 0012621 | |||||||
2012-04-02 08:39 | Brad King | Assigned To | => David Cole | |||||||
2012-04-02 08:39 | Brad King | Status | new => assigned | |||||||
2012-04-02 16:01 | David Cole | Note Added: 0029059 | ||||||||
2012-04-02 16:01 | David Cole | Status | assigned => resolved | |||||||
2012-04-02 16:01 | David Cole | Resolution | open => fixed | |||||||
2012-04-19 15:55 | David Cole | Fixed in Version | => CMake 2.8.8 | |||||||
2012-04-19 15:55 | David Cole | Target Version | => CMake 2.8.8 | |||||||
2012-09-03 16:02 | David Cole | Note Added: 0030888 | ||||||||
2012-09-03 16:02 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|