mirror of
https://github.com/yaobinwen/CMake.git
synced 2026-01-12 15:45:49 +00: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