Hi,
I don't think the [variant=###] method works to separate
SET_TARGET_PROPERTIES() to different configurations in Xcode (4.0.2).
If I try this (simple example)...
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES
XCODE_ATTRIBUTE_COMPRESS_PNG_FILES[variant=Debug] YES )
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES
XCODE_ATTRIBUTE_COMPRESS_PNG_FILES[variant=Release] NO )
... the result in Xcode is:
Compress PNG Files Yes
Debug Yes
No condition allowed No
No condition allowed Yes
MinSizeRel Yes
No condition allowed No
No condition allowed Yes
RelWithDebInfo Yes
No condition allowed No
No condition allowed Yes
Release Yes
No condition allowed No
No condition allowed Yes
Instead of:
Compress PNG Files <Multiple values>
Debug Yes
Release No
Would there be another way of achieving separate configuration settings that
anyone knows of?
Kind Regards,
Daniel
--
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