summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-26 13:34:18 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-26 13:34:18 (GMT)
commit3706e9c97cef2ad8097adfd4ed2f04ff08398787 (patch)
treee495620fe7b527cd07332faed36112c2e42f866a /Help
parent0020f69848e6a80858e9b56fc351d7644cff6e4d (diff)
downloadCMake-3706e9c97cef2ad8097adfd4ed2f04ff08398787.zip
CMake-3706e9c97cef2ad8097adfd4ed2f04ff08398787.tar.gz
CMake-3706e9c97cef2ad8097adfd4ed2f04ff08398787.tar.bz2
Help: Convert project() directory variables to a definition list
Diffstat (limited to 'Help')
-rw-r--r--Help/command/project.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Help/command/project.rst b/Help/command/project.rst
index 6c931b6..a726cbb 100644
--- a/Help/command/project.rst
+++ b/Help/command/project.rst
@@ -20,12 +20,13 @@ Sets the name of the project, and stores it in the variable
``CMakeLists.txt`` also stores the project name in the
variable :variable:`CMAKE_PROJECT_NAME`.
-Also sets the variables
+Also sets the variables:
-* :variable:`PROJECT_SOURCE_DIR`,
- :variable:`<PROJECT-NAME>_SOURCE_DIR`
-* :variable:`PROJECT_BINARY_DIR`,
- :variable:`<PROJECT-NAME>_BINARY_DIR`
+:variable:`PROJECT_SOURCE_DIR`, :variable:`<PROJECT-NAME>_SOURCE_DIR`
+ Absolute path to the source directory for the project.
+
+:variable:`PROJECT_BINARY_DIR`, :variable:`<PROJECT-NAME>_BINARY_DIR`
+ Absolute path to the binary directory for the project.
Further variables are set by the optional arguments described in the following.
If any of these arguments is not used, then the corresponding variables are