cmake/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst

10 lines
305 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_SCRIPT_MODE_FILE
----------------------
2022-11-16 20:14:03 +01:00
Full path to the :option:`cmake -P` script file currently being
2015-11-17 17:22:37 +01:00
processed.
2014-08-03 19:52:23 +02:00
2022-11-16 20:14:03 +01:00
When run in :option:`cmake -P` script mode, CMake sets this variable to
2015-11-17 17:22:37 +01:00
the full path of the script file. When run to configure a ``CMakeLists.txt``
file, this variable is not set.