cmake/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
2022-11-16 20:14:03 +01: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.