Single-configuration generator¶
Generator that allows to have only single build type while configuring project. Build type defined by CMAKE_BUILD_TYPE on configure step and can’t be changed on build step.
Example of building Debug
variant:
> cmake -H. -B_builds -DCMAKE_BUILD_TYPE=Debug
> cmake --build _builds
To use another build type like Release
use
out-of-source feature.
All generators that are not multi-configuration are single-configuration. Typical example of such generator is a Unix Makefiles generator.