Merge topic 'patch-CMakeDependentOption-script-mode'

8b25e11fed CMakeDependentOption: Document project and script mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11192
This commit is contained in:
Brad King authored and Kitware Robot committed 2025-09-16 09:53:39 -04:00
commit 4ae24357ad
1 file changed
+4 -1
+4 -1
View File
@@ -10,7 +10,7 @@ default values depend on specified conditions or other options. This helps
maintain a clean configuration interface by only displaying options that are
relevant to the current settings.
Load this module in a CMake project with:
Load this module in CMake with:
.. code-block:: cmake
@@ -82,6 +82,9 @@ This module provides the following command:
The value assigned to a local variable named ``<variable>``, when
``<condition>`` evaluates to boolean false.
In CMake project mode, boolean cache variables are created as explained
above. In CMake script mode, boolean variables are set instead.
Examples
^^^^^^^^