summaryrefslogtreecommitdiffstats
path: root/Source/cmSetCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSetCommand.h')
-rw-r--r--Source/cmSetCommand.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmSetCommand.h b/Source/cmSetCommand.h
index 45bccbd..8a97240 100644
--- a/Source/cmSetCommand.h
+++ b/Source/cmSetCommand.h
@@ -91,8 +91,13 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "SET(FOO BAR)\n"
- "Within CMAKE sets FOO to the value BAR. BAR is expanded before FOO is set to it.";
+ "SET(VAR [VALUE] [CACHE TYPE DOCSTRING])\n"
+ "Within CMAKE sets VAR to the value VALUE. VALUE is expanded before VAR "
+ "is set to it. If CACHE is present, then the VAR is put in the cache."
+ " TYPE and DOCSTRING are required. If TYPE is INTERNAL, then the "
+ " VALUE is Always written into the cache, replacing any values "
+ "existing in the cache. If it is not a CACHE VAR, then this always "
+ "writes into the current makefile.";
}
cmTypeMacro(cmSetCommand, cmCommand);