1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

FeatureSummary: Update documentation

- Refactored and synced module documentation.
- Moved all documentation to the top header comment to make it easier to
  manage and adjust.
- Added table of contents.
- Added intro code block showing how to use this module.
- Described arguments of commands as a list.
- Used word "commands" instead of "functions".
- Added separate examples section with more examples.
This commit is contained in:
Peter Kokot
2025-08-11 10:27:34 +02:00
parent 1443123892
commit 361af2b480
2 changed files with 545 additions and 393 deletions

View File

@@ -5,7 +5,7 @@ CMP0183
:command:`add_feature_info` supports full :ref:`Condition Syntax`.
The ``<enabled>`` parameter accepts a :ref:`semicolon-separated list <CMake
The ``<condition>`` parameter accepts a :ref:`semicolon-separated list <CMake
Language Lists>` of conditions. CMake 3.31 and lower evaluate each
``condition`` as ``if(${condition})``, which does not properly handle
conditions with nested paren groups. CMake 4.0 and above instead prefer

File diff suppressed because it is too large Load Diff