summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/variable/PROJECT_SOURCE_DIR.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.18/Help/variable/PROJECT_SOURCE_DIR.rst')
-rw-r--r--share/cmake-3.18/Help/variable/PROJECT_SOURCE_DIR.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/variable/PROJECT_SOURCE_DIR.rst b/share/cmake-3.18/Help/variable/PROJECT_SOURCE_DIR.rst
new file mode 100644
index 0000000..b4601c2
--- /dev/null
+++ b/share/cmake-3.18/Help/variable/PROJECT_SOURCE_DIR.rst
@@ -0,0 +1,8 @@
+PROJECT_SOURCE_DIR
+------------------
+
+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).