[CMake] MSVC turn off RelWithDebInfo and MinSizeRel

Jesse Corrington jesse.corrington at gmail.com
Fri Dec 21 14:06:08 EST 2007


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> wrote:

> 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.
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071221/20c38764/attachment.htm


More information about the CMake mailing list