CMAKE_PARENT_LIST_FILE.rst 393 B

123456789
  1. CMAKE_PARENT_LIST_FILE
  2. ----------------------
  3. Full path to the CMake file that included the current one.
  4. While processing a CMake file loaded by :command:`include` or
  5. :command:`find_package` this variable contains the full path to the file
  6. including it. The top of the include stack is always the ``CMakeLists.txt``
  7. for the current directory. See also :variable:`CMAKE_CURRENT_LIST_FILE`.