[CMake] Recent changes to CMake

Brad King brad.king at kitware.com
Tue Jun 7 08:40:07 EDT 2005


klaas.holwerda wrote:
> In fact this is a detail i do not like on Cmake, it still allows to 
> choose release mode in the project file, but that does not make sence, 
> it gives errors when wxWidgets is a in debug version.
> If the user still chooses a relase build while impossble, the build 
> directly start complaining with an decent error message.

If you want to remove a configuration from the set of build choices in 
the generated project files you can do this:

SET(CMAKE_CONFIGURATION_TYPES "Debug")

and then only the debug configuration will get generated.

-Brad


More information about the CMake mailing list