diff options
Diffstat (limited to 'Help/variable/PROJECT_SOURCE_DIR.rst')
-rw-r--r-- | Help/variable/PROJECT_SOURCE_DIR.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Help/variable/PROJECT_SOURCE_DIR.rst b/Help/variable/PROJECT_SOURCE_DIR.rst index 27f2838ee..b4601c2c4 100644 --- a/Help/variable/PROJECT_SOURCE_DIR.rst +++ b/Help/variable/PROJECT_SOURCE_DIR.rst @@ -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). |