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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers