View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013201CMakeCMakepublic2012-05-08 14:062012-10-01 13:22
Reporterthanil 
Assigned ToDavid Cole 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformMacOSMac OS XOS Version10.7.3
Product VersionCMake 2.8.8 
Target VersionFixed in Version 
Summary0013201: XCODE_ATTRIBUTE_<an attribute>[variant=Debug] does not work as expected
Descriptionadding 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"
Steps To Reproduceset_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
Additional InformationMac OS X 10.7.3 - Xcode 4.3.2 - CMake 2.8.8
TagsCMake, macosx, Xcode
Attached Files

 Relationships
duplicate of 0012532closedBrad King Defining different settings for different configurations in Xcode (4.0.2) generator 

  Notes
(0031123)
David Cole (manager)
2012-10-01 13:22

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-05-08 14:06 thanil New Issue
2012-05-08 14:07 thanil Tag Attached: CMake
2012-05-08 14:07 thanil Tag Attached: macosx
2012-05-08 14:07 thanil Tag Attached: Xcode
2012-05-08 14:43 David Cole Assigned To => David Cole
2012-05-08 14:43 David Cole Status new => assigned
2012-05-08 14:43 David Cole Relationship added duplicate of 0012532
2012-05-08 14:43 David Cole Status assigned => resolved
2012-05-08 14:43 David Cole Resolution open => duplicate
2012-10-01 13:22 David Cole Note Added: 0031123
2012-10-01 13:22 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team