MantisBT - CMake
View Issue Details
0013201CMakeCMakepublic2012-05-08 14:062012-10-01 13:22
thanil 
David Cole 
normalmajoralways
closedduplicate 
MacMac OS X10.7.3
CMake 2.8.8 
 
0013201: XCODE_ATTRIBUTE_<an attribute>[variant=Debug] does not work as expected
adding target property XCODE_ATTRIBUTE_<an attribute>[variant=Debug] should change the Xcode attribute in the Debug configuration only, however it does not change the attribute and adds it to both Debug and Release configurations under the subcategory "Any SDK"
set_target_properties (${TARGET} PROPERTIES XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Debug] "dwarf")
set_target_properties (${TARGET} PROPERTIES XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Release] "dwarf-with-dsym")

Will generate the following in the Xcode project (note that DWARF is the default value)
   Debug : DWARF
      - Any SDK: DWARF
      - Any SDK: DWARF WITH dSYM
   Release : DWARF
      - Any SDK: DWARF
      - Any SDK: DWARF WITH dSYM

Instead of:
   Debug : DWARF
   Release : DWARF WITH dSYM
Mac OS X 10.7.3 - Xcode 4.3.2 - CMake 2.8.8
CMake, macosx, Xcode
duplicate of 0012532closed Brad King Defining different settings for different configurations in Xcode (4.0.2) generator 
Issue History
2012-05-08 14:06thanilNew Issue
2012-05-08 14:07thanilTag Attached: CMake
2012-05-08 14:07thanilTag Attached: macosx
2012-05-08 14:07thanilTag Attached: Xcode
2012-05-08 14:43David ColeAssigned To => David Cole
2012-05-08 14:43David ColeStatusnew => assigned
2012-05-08 14:43David ColeRelationship addedduplicate of 0012532
2012-05-08 14:43David ColeStatusassigned => resolved
2012-05-08 14:43David ColeResolutionopen => duplicate
2012-10-01 13:22David ColeNote Added: 0031123
2012-10-01 13:22David ColeStatusresolved => closed

Notes
(0031123)
David Cole   
2012-10-01 13:22   
Closing resolved issues that have not been updated in more than 4 months.