summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildCommand.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/cmCTestBuildCommand.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/cmCTestBuildCommand.h')
-rw-r--r--Source/CTest/cmCTestBuildCommand.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.h b/Source/CTest/cmCTestBuildCommand.h
index a961388..18e23d7 100644
--- a/Source/CTest/cmCTestBuildCommand.h
+++ b/Source/CTest/cmCTestBuildCommand.h
@@ -55,7 +55,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Builds the repository.";
+ return "Build the project.";
}
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
@@ -65,9 +65,15 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ctest_build([BUILD build_dir] [RETURN_VALUE res] "
- " [NUMBER_ERRORS val] [NUMBER_WARNINGS val])\n"
- "Builds the given build directory and stores results in Build.xml.";
+ " ctest_build([BUILD build_dir] [RETURN_VALUE res]\n"
+ " [NUMBER_ERRORS val] [NUMBER_WARNINGS val])\n"
+ "Builds the given build directory and stores results in Build.xml. "
+ "If no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used. "
+ "The RETURN_VALUE option specifies a variable in which to store the "
+ "return value of the native build tool. "
+ "The NUMBER_ERRORS and NUMBER_WARNINGS options specify variables in "
+ "which to store the number of build errors and warnings detected."
+ ;
}
cmTypeMacro(cmCTestBuildCommand, cmCTestHandlerCommand);