summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Help/variable/CMAKE_PARENT_LIST_FILE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.10/Help/variable/CMAKE_PARENT_LIST_FILE.rst')
-rw-r--r--share/cmake-3.10/Help/variable/CMAKE_PARENT_LIST_FILE.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/cmake-3.10/Help/variable/CMAKE_PARENT_LIST_FILE.rst b/share/cmake-3.10/Help/variable/CMAKE_PARENT_LIST_FILE.rst
new file mode 100644
index 0000000..cfd8608
--- /dev/null
+++ b/share/cmake-3.10/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 :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`.