Help: Add _See Also_ to CMAKE_SCRIPT_MODE and CMAKE_ROLE

This commit is contained in:
Peter Kokot 2025-01-12 07:24:57 +01:00
parent 4f68bfdc15
commit 8ad171553b
No known key found for this signature in database
GPG Key ID: A94800907AA79B36
2 changed files with 10 additions and 0 deletions

View File

@ -20,3 +20,8 @@ values:
``CPACK``
Running in CPack.
See Also
^^^^^^^^
* The :variable:`CMAKE_SCRIPT_MODE_FILE` variable.

View File

@ -7,3 +7,8 @@ processed.
When run in :option:`cmake -P` script mode, CMake sets this variable to
the full path of the script file. When run to configure a ``CMakeLists.txt``
file, this variable is not set.
See Also
^^^^^^^^
* The :prop_gbl:`CMAKE_ROLE` global property provides the current running mode.