summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestConfigureCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-20 20:50:57 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-20 20:50:57 (GMT)
commitab1b9b45ff0940e37fe31380957ef970a70350bf (patch)
treeec6f6b2919005af94cf2c1ffe8f1bff88630e4ae /Source/CTest/cmCTestConfigureCommand.h
parent17dc49c0139d559043eaee20bb53b516faa6a303 (diff)
downloadCMake-ab1b9b45ff0940e37fe31380957ef970a70350bf.zip
CMake-ab1b9b45ff0940e37fe31380957ef970a70350bf.tar.gz
CMake-ab1b9b45ff0940e37fe31380957ef970a70350bf.tar.bz2
ENH: Improve ctest_* command documentation
This corrects the terse documentation and adds detail to the full documentation of some commands. It also normalizes the layout of the documentation string endings to make adding lines easier.
Diffstat (limited to 'Source/CTest/cmCTestConfigureCommand.h')
-rw-r--r--Source/CTest/cmCTestConfigureCommand.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestConfigureCommand.h b/Source/CTest/cmCTestConfigureCommand.h
index 7284fd7..b0210d2 100644
--- a/Source/CTest/cmCTestConfigureCommand.h
+++ b/Source/CTest/cmCTestConfigureCommand.h
@@ -50,7 +50,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Configures the repository.";
+ return "Configure the project build tree.";
}
/**
@@ -59,12 +59,17 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ctest_configure(BUILD build_dir OPTIONS options RETURN_VALUE res)\n"
+ " ctest_configure([BUILD build_dir] [SOURCE source_dir]\n"
+ " [OPTIONS options] [RETURN_VALUE res])\n"
"Configures the given build directory and stores results in "
- "Configure.xml. The OPTIONS arguments are passed as command line "
- "arguments to the configure command. "
- "The RETURN_VALUE argument is a variable that will hold "
- "the return value.";
+ "Configure.xml. "
+ "If no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used. "
+ "If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used. "
+ "The OPTIONS argument specifies command line arguments to pass to "
+ "the configuration tool. "
+ "The RETURN_VALUE option specifies a variable in which to store the "
+ "return value of the native build tool."
+ ;
}
cmTypeMacro(cmCTestConfigureCommand, cmCTestHandlerCommand);