mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Ninja Multi-Config: Shuffle variables around
Remove redundant variable CMAKE_NINJA_MULTI_CROSS_CONFIG_ENABLE. Rename other variables. Document and improve handling of error conditions.
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
CMAKE_NINJA_MULTI_CROSS_CONFIGS
|
||||
-------------------------------
|
||||
|
||||
Set which configurations get cross-built if
|
||||
:variable:`CMAKE_NINJA_MULTI_CROSS_CONFIG_ENABLE` is set. See the
|
||||
documentation for the :generator:`Ninja Multi-Config` generator for more
|
||||
information.
|
||||
@@ -1,10 +0,0 @@
|
||||
CMAKE_NINJA_MULTI_CROSS_CONFIG_ENABLE
|
||||
-------------------------------------
|
||||
|
||||
If this variable is enabled, cross-configuration building is enabled in the
|
||||
:generator:`Ninja Multi-Config` generator. See the generator's description for
|
||||
more details. This variable is ``OFF`` by default.
|
||||
|
||||
This variable is meant to be set from the command line (via
|
||||
``-DCMAKE_NINJA_MULTI_CROSS_CONFIG_ENABLE:BOOL=ON``) and should not be set from
|
||||
project code.
|
||||
@@ -1,6 +0,0 @@
|
||||
CMAKE_NINJA_MULTI_DEFAULT_BUILD_ALIAS
|
||||
-------------------------------------
|
||||
|
||||
Controls the config of ``<target>`` aliases in ``build.ninja`` for the
|
||||
:generator:`Ninja Multi-Config` generator. See the generator's documentation
|
||||
for more details.
|
||||
@@ -1,7 +0,0 @@
|
||||
CMAKE_NINJA_MULTI_DEFAULT_BUILD_TYPE
|
||||
------------------------------------
|
||||
|
||||
Specifies a configuration type to use as the default in ``build.ninja`` for the
|
||||
:generator:`Ninja Multi-Config` generator.
|
||||
|
||||
If this variable is not specified, no ``build.ninja`` file is generated.
|
||||
7
Help/variable/CMAKE_NMC_CROSS_CONFIGS.rst
Normal file
7
Help/variable/CMAKE_NMC_CROSS_CONFIGS.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
CMAKE_NMC_CROSS_CONFIGS
|
||||
-------------------------------
|
||||
|
||||
Specifies a :ref:`semicolon-separated list <CMake Language Lists>` of
|
||||
configurations available from all ``build-<Config>.ninja`` files in the
|
||||
:generator:`Ninja Multi-Config` generator. See the generator's
|
||||
documentation for more details.
|
||||
6
Help/variable/CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG.rst
Normal file
6
Help/variable/CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG
|
||||
-------------------------------------------
|
||||
|
||||
Specifies the configuration to use by default in a ``build.ninja`` file in the
|
||||
:generator:`Ninja Multi-Config` generator. See the generator's documentation
|
||||
for more details.
|
||||
7
Help/variable/CMAKE_NMC_DEFAULT_CONFIGS.rst
Normal file
7
Help/variable/CMAKE_NMC_DEFAULT_CONFIGS.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
CMAKE_NMC_DEFAULT_CONFIGS
|
||||
---------------------------------
|
||||
|
||||
Specifies a :ref:`semicolon-separated list <CMake Language Lists>` of configurations
|
||||
to build for a target in ``build.ninja`` if no ``:<Config>`` suffix is specified in
|
||||
the :generator:`Ninja Multi-Config` generator.
|
||||
See the generator's documentation for more details.
|
||||
Reference in New Issue
Block a user