1CMAKE_SCRIPT_MODE_FILE
2----------------------
3
4Full path to the :manual:`cmake(1)` ``-P`` script file currently being
5processed.
6
7When run in :manual:`cmake(1)` ``-P`` script mode, CMake sets this variable to
8the full path of the script file.  When run to configure a ``CMakeLists.txt``
9file, this variable is not set.
10