[Cmake] CMAKE_CONFIGURATION_TYPES & CMAKE_BUILD_TYPE_INIT

Mathieu Malaterre Mathieu . Malaterre at creatis . insa-lyon . fr
Thu, 13 Nov 2003 12:34:43 +0100


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