Hi,

I still have issues with the CMake feature to define different settings for 
different configurations in Xcode (4.0.2).
Related to...

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

I've tried lots of different interpretations of the syntax (which is 
undocumented apart from the bug tracker?) but nothing seems to work, if I try 
this...

SET_TARGET_PROPERTIES( ${RT_APP_NAME} PROPERTIES 
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY[variant=Debug] 
${RT_CODE_SIGN_IDENTITY_DEVELOPMENT} )
SET_TARGET_PROPERTIES( ${RT_APP_NAME} PROPERTIES 
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY[variant=Release] 
${RT_CODE_SIGN_IDENTITY_DISTRIBUTION} )

or...

SET_TARGET_PROPERTIES( ${RT_APP_NAME} PROPERTIES 
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY[variant=Debug][sdk=*] 
${RT_CODE_SIGN_IDENTITY_DEVELOPMENT} )
SET_TARGET_PROPERTIES( ${RT_APP_NAME} PROPERTIES 
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY[variant=Release][sdk=*] 
${RT_CODE_SIGN_IDENTITY_DISTRIBUTION} )

... it always results in both settings being added to both configurations 
(under the key "Any sdk" that is added twice per configuration).

I'm using CMake 2.8-6.

Any suggestions?

Thanks,
Daniel Dekkers
 






--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to