CMAKE_SCRIPT_MODE_FILE.rst 331 B

123456789
  1. CMAKE_SCRIPT_MODE_FILE
  2. ----------------------
  3. Full path to the :option:`cmake -P <cmake_P -P>` script file currently being
  4. processed.
  5. When run in :option:`cmake -P <cmake_P -P>` script mode, CMake sets this variable to
  6. the full path of the script file. When run to configure a ``CMakeLists.txt``
  7. file, this variable is not set.