CMAKE_PARENT_LIST_FILE.rst 359 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 include() or find_package()
  5. this variable contains the full path to the file including it. The
  6. top of the include stack is always the CMakeLists.txt for the current
  7. directory. See also CMAKE_CURRENT_LIST_FILE.