Files
CMake/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
Brad King b768a5e23b Help: Disambiguate cmake(1) program modes in Sphinx option references
Define the entry point to each mode as an option for the `cmake`
program, but reference the options for that mode as part of stand-in
`cmake-<mode>` programs.
2022-10-05 15:27:40 -04:00

10 lines
305 B
ReStructuredText

CMAKE_SCRIPT_MODE_FILE
----------------------
Full path to the :option:`cmake -P` script file currently being
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.