Perform the CTest Coverage Step as a Dashboard Client.
ctest_coverage([BUILD <build-dir>] [APPEND]
[LABELS <label>...]
[RETURN_VALUE <result-var>]
[QUIET]
)
Collect coverage tool results and stores them in Coverage.xml for submission with the ctest_submit() command.
The options are:
BUILD <build-dir>CTEST_BINARY_DIRECTORY variable is used.APPENDctest_start() call. Append semantics are defined by the dashboard server in use.LABELSRETURN_VALUE <result-var><result-var> variable 0 if coverage tools ran without error and non-zero otherwise.QUIET
© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.5/command/ctest_coverage.html