diff options
author | Brad King <brad.king@kitware.com> | 2013-06-05 13:39:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-05 13:39:27 (GMT) |
commit | bf57982f7b52b8ed7a3da4099442d6cda36280bb (patch) | |
tree | b96b69e04eee244ac4f2354d62e5a9be6074510c /Source | |
parent | 21b10265419800942ed0806f0e0f5cf6da260bad (diff) | |
parent | b62d440ea8cf16e1eab3d8fec5f36abdee0f4bab (diff) | |
download | CMake-bf57982f7b52b8ed7a3da4099442d6cda36280bb.zip CMake-bf57982f7b52b8ed7a3da4099442d6cda36280bb.tar.gz CMake-bf57982f7b52b8ed7a3da4099442d6cda36280bb.tar.bz2 |
Merge topic 'doc-CMAKE_PARENT_LIST_FILE'
b62d440 Docs: Clarify CMAKE_PARENT_LIST_FILE (#14194)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDocumentVariables.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index b383265..689508f 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -345,11 +345,12 @@ void cmDocumentVariables::DefineVariables(cmake* cm) cm->DefineProperty ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE, - "Full path to the parent listfile of the one currently being processed.", - "As CMake processes the listfiles in your project this " - "variable will always be set to the listfile that included " - "or somehow invoked the one currently being " - "processed. See also CMAKE_CURRENT_LIST_FILE.",false, + "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.",false, "Variables that Provide Information"); cm->DefineProperty |