Spec-Zone.ru › CMake

CMAKE_SCRIPT_MODE_FILE

Full path to the cmake -P script file currently being processed.

When run in cmake -P script mode, CMake sets this variable to the full path of the script file. When run to configure a CMakeLists.txt file, this variable is not set.

See Also

  • The CMAKE_ROLE global property provides the current running mode.

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_SCRIPT_MODE_FILE.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API