summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_PARENT_LIST_FILE.rst
blob: cfd8608c3fbc38380e8dceae94f0418dcba4cde6 (plain)
1
2
3
4
5
6
7
8
9
CMAKE_PARENT_LIST_FILE
----------------------

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

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`.