blob: aa4f82dbd09d9155069791cc10da81a9d8029c46 [file] [log] [blame]
CMAKE_DEFAULT_BUILD_TYPE
------------------------
Specifies the configuration to use by default in a ``build.ninja`` file in the
:generator:`Ninja Multi-Config` generator. If this variable is specified,
``build.ninja`` uses build rules from ``build-<Config>.ninja`` by default. All
custom commands are executed with this configuration. If the variable is not
specified, the first item from :variable:`CMAKE_CONFIGURATION_TYPES` is used
instead.
The value of this variable must be one of the items from
:variable:`CMAKE_CONFIGURATION_TYPES`.