[CMake] MSVC turn off RelWithDebInfo and MinSizeRel

David Cole david.cole at kitware.com
Wed Dec 19 19:31:53 EST 2007


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 <jesse.corrington at gmail.com> wrote:
>
> Is there anyway to have CMake not generate these two configurations, and
> just generate the standard release and debug configurations instead? Thanks.
>
> Jesse
>
> _______________________________________________
> 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/20071219/c28f656b/attachment.htm


More information about the CMake mailing list