[cmake-developers] [CMake 0013201]: XCODE_ATTRIBUTE_<an attribute>[variant=Debug] does not work as expected

Mantis Bug Tracker mantis at public.kitware.com
Tue May 8 14:06:02 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13201 
====================================================================== 
Reported By:                thanil
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13201
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-08 14:06 EDT
Last Modified:              2012-05-08 14:06 EDT
====================================================================== 
Summary:                    XCODE_ATTRIBUTE_<an attribute>[variant=Debug] does
not work as expected
Description: 
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"

Steps to Reproduce: 
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

Additional Information: 
Mac OS X 10.7.3 - Xcode 4.3.2 - CMake 2.8.8
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-08 14:06 thanil         New Issue                                    
======================================================================




More information about the cmake-developers mailing list