[cmake-developers] Small patch to support build-setting conditions in XCode

Brad King brad.king at kitware.com
Tue Apr 5 09:23:42 EDT 2011


On 04/05/2011 09:17 AM, Johan Björk wrote:
> Tiny patch attached to support build-setting conditions in XCode
> (XCODE_ATTRIBUTE_...[sdk=iphone]) for example. The issue was simply that
> XCode requires the key to be quoted when it contains [].

I think the right place for this is in cmXCodeObject::PrintString where
it already checks for characters that need quoting.  Does that work?

-Brad




More information about the cmake-developers mailing list