Spec-Zone.ru › CMake

CMAKE_PARENT_LIST_FILE

Full path to the CMake file that included the current one.

While processing a CMake file loaded by include() or find_package() this variable contains the full path to the file including it.

While processing a CMakeLists.txt file, even in subdirectories, this variable is not defined. See policy CMP0198.

While processing a cmake -P script, this variable is not defined in the outermost script.

See also CMAKE_CURRENT_LIST_FILE.

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

Spec-Zone.ru

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