[Cmake] CMAKE_CONFIGURATION_TYPES & CMAKE_BUILD_TYPE_INIT

William A. Hoffman billlist at nycap . rr . com
Thu, 13 Nov 2003 07:46:14 -0500


Visual studio 6 does not work that way.  However, what you are trying should
work with visual studio 7.

-Bill


At 06:34 AM 11/13/2003, Mathieu Malaterre wrote:
>Hi all,
>
>        I am a bit puzzled on how to use CMAKE_CONFIGURATION_TYPES & CMAKE_BUILD_TYPE_INIT
>
>        I would like to restrict to only Debug and Release thus I tried:
>
>  SET(CMAKE_CONFIGURATION_TYPES
>    Debug
>    Release
>  )
>
>But still I have MinSizeRel and RelWithDebInfo
>
>---
>
>        And also I would like to start compilation with Release (instead of Debug), so I tried:
>
>  SET(CMAKE_BUILD_TYPE_INIT Release)
>
>But again with no luck...
>
>Thanks for advices,
>mathieu
>
>_______________________________________________
>Cmake mailing list
>Cmake at www . cmake . org
>http://www . cmake . org/mailman/listinfo/cmake