Merge topic 'capabilties-generator-platforms'

66be34853c cmake: add supported platforms to cmake -E capabilties report

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6102
This commit is contained in:
Brad King
2021-05-11 13:22:30 +00:00
committed by Kitware Robot
3 changed files with 19 additions and 0 deletions

View File

@@ -575,6 +575,12 @@ Available commands are:
``true`` if the generator supports toolsets and ``false`` otherwise.
``platformSupport``
``true`` if the generator supports platforms and ``false`` otherwise.
``supportedPlatforms``
.. versionadded:: 3.21
Optional member that may be present when the generator supports
platform specification via :variable:`CMAKE_GENERATOR_PLATFORM`
(``-A ...``). The value is a list of platforms known to be supported.
``extraGenerators``
A list of strings with all the extra generators compatible with
the generator.

View File

@@ -0,0 +1,6 @@
capabilties-generator-platforms
-------------------------------
* The :manual:`cmake(1)` ``-E capabilities`` output now contains for each
generator a ``supportedPlatforms`` field listing platform known to
be supported in :variable:`CMAKE_GENERATOR_PLATFORM`.