summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
commita02574158d178615cf8fd642695e5099b6041049 (patch)
treedf9f52770e9c2ff771988ae1a91ec0b2287548da /Source/cmConfigureFileCommand.h
parentdec0b5106611cbccd1f75c1fa3371d66bdd69a47 (diff)
downloadCMake-a02574158d178615cf8fd642695e5099b6041049.zip
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.gz
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.bz2
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
Diffstat (limited to 'Source/cmConfigureFileCommand.h')
-rw-r--r--Source/cmConfigureFileCommand.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h
index 9e19a6f..d6d768f 100644
--- a/Source/cmConfigureFileCommand.h
+++ b/Source/cmConfigureFileCommand.h
@@ -44,7 +44,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Create a file from an autoconf style file.in file.";
+ return "Copy a file to another location and modify its contents.";
}
/**
@@ -53,19 +53,21 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "CONFIGURE_FILE(InputFile OutputFile [COPYONLY] [ESCAPE_QUOTES] [IMMEDIATE] [@ONLY])\n"
- "The Input and Ouput files have to have full paths.\n"
- "They can also use variables like CMAKE_BINARY_DIR,CMAKE_SOURCE_DIR. "
- "This command replaces any variables in the input file with their "
- "values as determined by CMake. If a variables in not defined, it "
- "will be replaced with nothing. If COPYONLY is passed in, then "
- "then no variable expansion will take place. If ESCAPE_QUOTES is "
- "passed in then any substitued quotes will be C style escaped. "
+ " CONFIGURE_FILE(InputFile OutputFile\n"
+ " [COPYONLY] [ESCAPE_QUOTES]\n"
+ " [IMMEDIATE] [@ONLY])\n"
+ "The Input and Ouput files have to have full paths. "
+ "This command replaces any variables in the input file referenced as "
+ "${VAR} or @VAR@ with their values as determined by CMake. If a "
+ "variable is not defined, it will be replaced with nothing. "
+ "If COPYONLY is specified, then then no variable expansion will take "
+ "place. If ESCAPE_QUOTES is specified in then any substitued quotes "
+ "will be C-style escaped. "
"If IMMEDIATE is specified, then the file will be configured with "
"the current values of CMake variables instead of waiting until the "
- "end of CMakeLists processing. If @ONLY is present, only variables "
- "of the form @var@ will be replaces and ${var} will be ignored. "
- "This is useful for configuring tcl scripts that use ${var}.";
+ "end of CMakeLists processing. If @ONLY is specified, only variables "
+ "of the form @VAR@ will be replaces and ${VAR} will be ignored. "
+ "This is useful for configuring tcl scripts that use ${VAR}.";
}
virtual void FinalPass();