[CMake] Renaming or removing build modes

Bill Hoffman bill.hoffman at kitware.com
Fri Mar 28 19:33:13 EDT 2008


Bryan O'Sullivan wrote:
> I see info in the FAQ about adding a new build mode, but I don't know 
> how I might remove or rename one.  For example, I'd like to get rid of 
> MinSizeRel.  Does anyone have any suggestions?
> 

You should be able to remove them by setting this variable in your project:


CMAKE_CONFIGURATION_TYPES

set(CMAKE_CONFIGURATION_TYPES Debug Release)

-Bill


More information about the CMake mailing list