summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_CROSS_CONFIGS.rst
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-03-26 19:33:48 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-03-26 19:33:48 (GMT)
commitc8fd26eb5723e5c2e9eac949827d5937591a5d69 (patch)
tree9f13045864624880cd49f2bad6fe03ed1b499d69 /Help/variable/CMAKE_CROSS_CONFIGS.rst
parentd14626afe5154ab03297d4fb8a4d00ca05db3a1d (diff)
downloadCMake-c8fd26eb5723e5c2e9eac949827d5937591a5d69.zip
CMake-c8fd26eb5723e5c2e9eac949827d5937591a5d69.tar.gz
CMake-c8fd26eb5723e5c2e9eac949827d5937591a5d69.tar.bz2
Help: Move Ninja Multi-Config variable details into their respective pages
Diffstat (limited to 'Help/variable/CMAKE_CROSS_CONFIGS.rst')
-rw-r--r--Help/variable/CMAKE_CROSS_CONFIGS.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_CROSS_CONFIGS.rst b/Help/variable/CMAKE_CROSS_CONFIGS.rst
index c850af2..94157f3 100644
--- a/Help/variable/CMAKE_CROSS_CONFIGS.rst
+++ b/Help/variable/CMAKE_CROSS_CONFIGS.rst
@@ -3,5 +3,13 @@ CMAKE_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.
+:generator:`Ninja Multi-Config` generator. This variable activates
+cross-config mode. Targets from each config specified in this variable can be
+built from any ``build-<Config>.ninja`` file. Custom commands will use the
+configuration native to ``build-<Config>.ninja``. If it is set to ``all``, all
+configurations from :variable:`CMAKE_CONFIGURATION_TYPES` are cross-configs. If
+it is not specified, or empty, each ``build-<Config>.ninja`` file will only
+contain build rules for its own configuration.
+
+The value of this variable must be a subset of
+:variable:`CMAKE_CONFIGURATION_TYPES`.