[CMake] MSVC turn off RelWithDebInfo and MinSizeRel

Torsten Martinsen tma at gatehouse.dk
Fri Dec 21 02:35:04 EST 2007


David Cole <mailto:david.cole at kitware.com> wrote:

> I will see if I can find / figure out what I did to make this work --
> I know I've done it before to eliminate all but one config type...
>
> How about this in the CMakeLists.txt file instead? (Force it into the
> cache rather than using a simple set.)
> SET(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "limited configs" FORCE)

FWIW, this seems to work for me.

-Torsten

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.


More information about the CMake mailing list