[cmake-developers] [CMake 0012532]: Defining different settings for different configurations in Xcode (4.0.2) generator

Mantis Bug Tracker mantis at public.kitware.com
Fri Oct 21 12:53:27 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12532 
====================================================================== 
Reported By:                Daniel Dekkers
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12532
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-21 12:53 EDT
Last Modified:              2011-10-21 12:53 EDT
====================================================================== 
Summary:                    Defining different settings for different
configurations in Xcode (4.0.2) generator
Description: 
Setting properties with the [variant=] construction in SET_TARGET_PROPERTIES()
gives unexpected results.



Steps to Reproduce: 
As an example:

SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS[variant=Debug] "EntitlementsDebug.plist"
)
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS[variant=Release]
"EntitlementsAdHoc.plist" )

Will fill both configurations (Debug and Release) with both settings
(EntitlementsDebug.plist and EntitlementsAdHoc.plist).




Additional Information: 
The [variant=] construction is undocumented, apart from the bug tracker.

Related to...

http://www.cmake.org/Bug/view.php?id=11667
http://www.cmake.org/Bug/view.php?id=8179
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-21 12:53 Daniel Dekkers New Issue                                    
======================================================================




More information about the cmake-developers mailing list