[CMake] Different configurations with Visual Studio

Mark Van Peteghem markvp at gmail.com
Mon Jun 28 09:17:22 EDT 2010


Hi,

I am using CMake to generate Visual Studio project files, later also for
CodeBlocks.

It seems that CMake generates four different configurations for Visual
Studio: Debug, Release, MinSizeRel and RelWithDebInfo. However, I need other
configuations, Debug and Release, both for Win32 and MX3, in one project
file. How do I change this?

I tried this by changing *CMAKE_CONFIGURATION_TYPES *and CMAKE_BUILD_TYPES,
e.g.

SET(CMAKE_BUILD_TYPES Debug Release DebugMX31 ReleaseMX31)

but I have the impression that these variables cannot be changed.

-- 
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100628/6f31cad0/attachment.htm>


More information about the CMake mailing list