summaryrefslogtreecommitdiffstats
path: root/Source/cmSetCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-24 16:57:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-24 16:57:33 (GMT)
commit5731bc9d54036b28d4fce428cc218bb207c63411 (patch)
tree39caed87c95dc064689d064469ca5d9b01a7db00 /Source/cmSetCommand.h
parentad92f34fea4c565a3f6698c5bc620797be9c64fe (diff)
downloadCMake-5731bc9d54036b28d4fce428cc218bb207c63411.zip
CMake-5731bc9d54036b28d4fce428cc218bb207c63411.tar.gz
CMake-5731bc9d54036b28d4fce428cc218bb207c63411.tar.bz2
ENH: change the syntax of the SET command, fix the combo box for larger strings
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);