summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
blob: 981af60cf10a30d5a7001ec705e7bb9ee2cac58a (plain)
1
2
3
4
5
6
7
8
9
CMAKE_SCRIPT_MODE_FILE
----------------------

Full path to the :manual:`cmake(1)` ``-P`` script file currently being
processed.

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.