Find*: Add intro code blocks

- Added intro code blocks showing how to use find modules.
- Synced modules documentation.
- Extended few examples to make the intro code blocks fit into the
  modules descriptions.
- Synced some RST formatting, variables descriptions and positions.
- Removed few redundant internal comments.

Issue: #26555
This commit is contained in:
Peter Kokot
2025-08-04 21:22:52 +02:00
parent 185a4e6c5d
commit 1526655507
70 changed files with 601 additions and 237 deletions

View File

@@ -81,7 +81,7 @@ for you.
Imported Targets
^^^^^^^^^^^^^^^^
This module defines the following :ref:`Imported Targets <Imported Targets>`:
This module provides the following :ref:`Imported Targets`:
.. versionchanged:: 3.14
:ref:`Imported Targets <Imported Targets>` are only created when
@@ -125,7 +125,7 @@ This module defines the following :ref:`Imported Targets <Imported Targets>`:
Result Variables
^^^^^^^^^^^^^^^^
This module will set the following variables in your project
This module defines the following variables
(see :ref:`Standard Variable Names <CMake Developer Standard Variable Names>`):
``Python2_FOUND``