diff options
author | Raul Laasner <raullaasner@gmail.com> | 2018-05-24 18:01:57 (GMT) |
---|---|---|
committer | Raul Laasner <raullaasner@gmail.com> | 2018-05-24 21:50:33 (GMT) |
commit | 42738e50757ba93635dc66148cace7999c89521a (patch) | |
tree | 5a8893c08e49b9513b4bff016179f51866ea11ff | |
parent | 2f8230b05251aa498b47a883d471b1ebfd357e64 (diff) | |
download | CMake-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.txt | 2 | ||||
-rw-r--r-- | Source/cmake.h | 2 |
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>", \ |