cmake/Help/variable/CMAKE_PARENT_LIST_FILE.rst

10 lines
393 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_PARENT_LIST_FILE
----------------------
Full path to the CMake file that included the current one.
2015-11-17 17:22:37 +01:00
While processing a CMake file loaded by :command:`include` or
:command:`find_package` this variable contains the full path to the file
including it. The top of the include stack is always the ``CMakeLists.txt``
for the current directory. See also :variable:`CMAKE_CURRENT_LIST_FILE`.