summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_build.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/ctest_build.rst')
-rw-r--r--Help/command/ctest_build.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/Help/command/ctest_build.rst b/Help/command/ctest_build.rst
new file mode 100644
index 0000000..ac2a0c1
--- /dev/null
+++ b/Help/command/ctest_build.rst
@@ -0,0 +1,24 @@
+ctest_build
+-----------
+
+Build the project.
+
+::
+
+ ctest_build([BUILD build_dir] [TARGET target] [RETURN_VALUE res]
+ [APPEND][NUMBER_ERRORS val] [NUMBER_WARNINGS val])
+
+Builds the given build directory and stores results in Build.xml. If
+no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used.
+
+The TARGET variable can be used to specify a build target. If none is
+specified, the "all" target will be built.
+
+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.
+
+The APPEND option marks results for append to those previously
+submitted to a dashboard server since the last ctest_start. Append
+semantics are defined by the dashboard server in use.