summaryrefslogtreecommitdiffstats
path: root/Source/cmSetCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSetCommand.h')
-rw-r--r--Source/cmSetCommand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmSetCommand.h b/Source/cmSetCommand.h
index c2b65c4..1d2441a 100644
--- a/Source/cmSetCommand.h
+++ b/Source/cmSetCommand.h
@@ -69,8 +69,10 @@ public:
" set(<variable> <value>\n"
" [[CACHE <type> <docstring> [FORCE]] | PARENT_SCOPE])\n"
"Within CMake sets <variable> to the value <value>. <value> is expanded"
- " before <variable> is set to it. If CACHE is present, then the "
- "<variable> is put in the cache. <type> and <docstring> are then "
+ " before <variable> is set to it. If CACHE is present and <variable> "
+ "is not yet in the cache, then <variable> is put in the cache. If it is "
+ "already in the cache, <variable> is assigned the value stored in the "
+ "cache. If CACHE is present, also <type> and <docstring> are "
"required. <type> is used by the CMake GUI to choose a widget with "
"which the user sets a value. The value for <type> may be one of\n"
" FILEPATH = File chooser dialog.\n"