summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-06-15 10:43:30 -0400
committerZach Mullen <zach.mullen@kitware.com>2010-06-15 10:43:30 -0400
commit6e7f182318dbdd3ba651dbfb39140d7c3fc26068 (patch)
tree3f2aa9d892add295c27b2d4e3224133b9c0bbbbe
parentd714b18ac5f415e15c5e03bf8f6aaeaf45e143f5 (diff)
downloadcmake-6e7f182318dbdd3ba651dbfb39140d7c3fc26068.tar.gz
Document ctest_build() TARGET option
-rw-r--r--Source/CTest/cmCTestBuildCommand.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.h b/Source/CTest/cmCTestBuildCommand.h
index 228067e44c..9eb49071c4 100644
--- a/Source/CTest/cmCTestBuildCommand.h
+++ b/Source/CTest/cmCTestBuildCommand.h
@@ -60,10 +60,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ctest_build([BUILD build_dir] [RETURN_VALUE res] [APPEND]\n"
- " [NUMBER_ERRORS val] [NUMBER_WARNINGS val])\n"
+ " ctest_build([BUILD build_dir] [TARGET target] [RETURN_VALUE res]\n"
+ " [APPEND][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. "
+ "If no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used.\n"
+ "The TARGET variable can be used to specify a build target. If none "
+ "is specified, the \"all\" target will be built.\n"
"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 "