CMAKE_SCRIPT_MODE_FILE.rst 405 B

1234567891011121314
  1. CMAKE_SCRIPT_MODE_FILE
  2. ----------------------
  3. Full path to the :option:`cmake -P` script file currently being
  4. processed.
  5. When run in :option:`cmake -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.
  8. See Also
  9. ^^^^^^^^
  10. * The :prop_gbl:`CMAKE_ROLE` global property provides the current running mode.