cmake/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst

10 lines
319 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_SCRIPT_MODE_FILE
----------------------
2015-11-17 17:22:37 +01:00
Full path to the :manual:`cmake(1)` ``-P`` script file currently being
processed.
2014-08-03 19:52:23 +02:00
2015-11-17 17:22:37 +01:00
When run in :manual:`cmake(1)` ``-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.