summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-07-18 06:45:20 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-07-18 06:45:20 (GMT)
commitb5a96716eb38e5859f10947e3d61bb4a8c0dffc0 (patch)
treeefce7419d9e99898ecd596283a05b4e7cd87ed21
parent8be7694d9756f535d7f681b396cfda44e0463c64 (diff)
downloadCMake-b5a96716eb38e5859f10947e3d61bb4a8c0dffc0.zip
CMake-b5a96716eb38e5859f10947e3d61bb4a8c0dffc0.tar.gz
CMake-b5a96716eb38e5859f10947e3d61bb4a8c0dffc0.tar.bz2
Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for
-rw-r--r--Help/variable/PROJECT_IS_TOP_LEVEL.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/variable/PROJECT_IS_TOP_LEVEL.rst b/Help/variable/PROJECT_IS_TOP_LEVEL.rst
index ad61fec..7e40704 100644
--- a/Help/variable/PROJECT_IS_TOP_LEVEL.rst
+++ b/Help/variable/PROJECT_IS_TOP_LEVEL.rst
@@ -3,7 +3,8 @@ PROJECT_IS_TOP_LEVEL
.. versionadded:: 3.21
-A boolean variable indicating whether :command:`project` was called in a top
+A boolean variable indicating whether the most recently called
+:command:`project` command in the current scope or above was in the top
level ``CMakeLists.txt`` file.
Some modules should only be included as part of the top level