summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaul Laasner <raullaasner@gmail.com>2018-05-24 18:01:57 (GMT)
committerRaul Laasner <raullaasner@gmail.com>2018-05-24 21:50:33 (GMT)
commit42738e50757ba93635dc66148cace7999c89521a (patch)
tree5a8893c08e49b9513b4bff016179f51866ea11ff
parent2f8230b05251aa498b47a883d471b1ebfd357e64 (diff)
downloadCMake-42738e50757ba93635dc66148cace7999c89521a.zip
CMake-42738e50757ba93635dc66148cace7999c89521a.tar.gz
CMake-42738e50757ba93635dc66148cace7999c89521a.tar.bz2
Help: Update description of the -D option to CMake
Fixes #18021
-rw-r--r--Help/manual/OPTIONS_BUILD.txt2
-rw-r--r--Source/cmake.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt
index e8b87c9..33d27af 100644
--- a/Help/manual/OPTIONS_BUILD.txt
+++ b/Help/manual/OPTIONS_BUILD.txt
@@ -11,7 +11,7 @@
cache-format file.
``-D <var>:<type>=<value>, -D <var>=<value>``
- Create a cmake cache entry.
+ Create or update a cmake cache entry.
When cmake is first run in an empty build tree, it creates a
CMakeCache.txt file and populates it with customizable settings for
diff --git a/Source/cmake.h b/Source/cmake.h
index 63dbe9f..dafe622 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -550,7 +550,7 @@ private:
#define CMAKE_STANDARD_OPTIONS_TABLE \
{ "-C <initial-cache>", "Pre-load a script to populate the cache." }, \
- { "-D <var>[:<type>]=<value>", "Create a cmake cache entry." }, \
+ { "-D <var>[:<type>]=<value>", "Create or update a cmake cache entry." }, \
{ "-U <globbing_expr>", "Remove matching entries from CMake cache." }, \
{ "-G <generator-name>", "Specify a build system generator." }, \
{ "-T <toolset-name>", \