mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-23 00:48:55 +08:00
Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user