Merge topic 'doc-PROJECT_SOURCE_DIR'

bd6e437e3e Help: Clarify the use of PROJECT_SOURCE_DIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4680
This commit is contained in:
Craig Scott
2020-04-30 12:07:14 +00:00
committed by Kitware Robot

View File

@@ -1,6 +1,8 @@
PROJECT_SOURCE_DIR
------------------
Top level source directory for the current project.
This is the source directory of the most recent :command:`project` command.
This is the source directory of the last call to the
:command:`project` command made in the current directory scope or one
of its parents. Note, it is not affected by calls to
:command:`project` made within a child directory scope (i.e. from
within a call to :command:`add_subdirectory` from the current scope).