[CMake] Xcode Generator

Bill Hoffman bill.hoffman at kitware.com
Thu Dec 14 09:01:53 EST 2006


Axel Roebel wrote:
>
> I am not using Xcode myself but a very brief look into the
> cmake source reveals that the variable
>
> CMAKE_CONFIGURATION_TYPES
>
> is used instead of CMAKE_BUILD_TYPE. Now the default value for 
> CMAKE_CONFIGURATION_TYPES is  "Debug;Release;MinSizeRel;RelWithDebInfo".
>
> Simply setting CMAKE_CONFIGURATION_TYPES to
>
>  "Release;Debug;MinSizeRel;RelWithDebInfo"
>
> was sufficient to convince Xcode to build 
> with release instead of Debug mode by default.
>
>   
Nice find...   It will not work for MS IDE, but sounds like it works for 
Xcode.
That should go in the wiki....

-Bill




More information about the CMake mailing list