MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013802 | CMake | CMake | public | 2012-12-19 07:21 | 2013-05-06 09:32 | |||||
Reporter | tzeH | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | duplicate | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0013802: set_property doesn't work for CMAKE_XCODE_ATTRIBUTE_ | |||||||||
Description | These two things don't do the same although they should: set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvmgcc42") set_property(GLOBAL PROPERTY CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvmgcc42") The first line works, the second line doesn't. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | The code for this is in cmGlobalXCodeGenerator.cxx: void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, cmXCodeObject* buildSettings, const char* configName) { ... cmPropertyMap const& props = target.GetProperties(); for(cmPropertyMap::const_iterator i = props.begin(); i != props.end(); ++i) { if(i->first.find("XCODE_ATTRIBUTE_") == 0) { buildSettings->AddAttribute(i->first.substr(16).c_str(), this->CreateString(i->second.GetValue())); } } ... } I don't know enough about the objects and classes involved, but it seems there is something wrong here and I hope this pointer will help to fix it. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-12-19 07:21 | tzeH | New Issue | ||||||||
2012-12-19 08:36 | Brad King | Note Added: 0031925 | ||||||||
2012-12-19 09:29 | tzeH | Note Added: 0031926 | ||||||||
2012-12-19 13:13 | Brad King | Note Added: 0031927 | ||||||||
2012-12-20 11:01 | Brad King | Relationship added | duplicate of 0009831 | |||||||
2012-12-20 11:02 | Brad King | Note Added: 0031932 | ||||||||
2012-12-20 11:02 | Brad King | Status | new => resolved | |||||||
2012-12-20 11:02 | Brad King | Resolution | open => duplicate | |||||||
2013-05-06 09:32 | Robert Maynard | Note Added: 0032991 | ||||||||
2013-05-06 09:32 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|