[CMake] MSVC turn off RelWithDebInfo and MinSizeRel

Torsten Martinsen tma at gatehouse.dk
Wed Jan 2 02:30:23 EST 2008


Actually, I always use the command line. So I haven't tried it from the GUI.

________________________________
From: Jesse Corrington [mailto:jesse.corrington at gmail.com]
Sent: 21 December 2007 20:06
To: Torsten Martinsen
Cc: David Cole; cmake at cmake.org
Subject: Re: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel

The force set seemed to work when running the cmake GUI on windows, but didn't seem to work when running the command line cmake.exe, which is the way I need to do the generation.

Jesse

On Dec 20, 2007 11:35 PM, Torsten Martinsen <tma at gatehouse.dk<mailto:tma at gatehouse.dk>> wrote:
David Cole <mailto:david.cole at kitware.com<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.
_______________________________________________
CMake mailing list
CMake at cmake.org<mailto:CMake at cmake.org>
http://www.cmake.org/mailman/listinfo/cmake


________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080102/3fb6566c/attachment.html


More information about the CMake mailing list