summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_PARENT_LIST_FILE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_PARENT_LIST_FILE.rst')
-rw-r--r--Help/variable/CMAKE_PARENT_LIST_FILE.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_PARENT_LIST_FILE.rst b/Help/variable/CMAKE_PARENT_LIST_FILE.rst
new file mode 100644
index 0000000000..5566a7222a
--- /dev/null
+++ b/Help/variable/CMAKE_PARENT_LIST_FILE.rst
@@ -0,0 +1,9 @@
+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. The
+top of the include stack is always the CMakeLists.txt for the current
+directory. See also CMAKE_CURRENT_LIST_FILE.