Unfortunately, this does not work. I just tried adding

    SET(CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebInfo")
at the top of my CMakeLists.txt, then deleted my build tree and ran cmake. The 
generated project files still contain Debug, Release, MinSizeRel and 
RelWithDebInfo.

-Torsten

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cole
Sent: 20 December 2007 01:32
To: Jesse Corrington
Cc: cmake@cmake.org
Subject: Re: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel

SET(CMAKE_CONFIGURATION_TYPES "Debug;Release")

in your CMakeLists.txt. (Or just edit that value in CMakeSetup to change it in 
the cache.)

If you do it with a simple set in the CMakeLists.txt then you will not see that 
reflected in the CMakeSetup GUI, but it will be in effect at generation time 
and you should end up with sln/vcproj files with just the two types.

HTH,
David


On 12/19/07, Jesse Corrington <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> 
wrote:
Is there anyway to have CMake not generate these two configurations, and just 
generate the standard release and debug configurations instead? Thanks.

________________________________
This e-mail and any files sent with it contain information that may be 
privileged or confidential and is the property of the GateHouse Group. This 
information is intended solely for the person to whom it is addressed. If you 
are not the intended recipient, you are not authorized to read, print, retain, 
copy, disseminate, distribute, or use the message or any part thereof. If you 
have received this e-mail in error, please notify the sender immediately, and 
delete all copies of this message. In accordance with GateHouse Security 
Policy, e-mails sent or received may be monitored.
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to