Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Help / variable / CMAKE_SCRIPT_MODE_FILE.rst
1 CMAKE_SCRIPT_MODE_FILE
2 ----------------------
3
4 Full path to the :option:`cmake -P` script file currently being
5 processed.
6
7 When run in :option:`cmake -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.