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