Perform the CTest Configure Step as a Dashboard Client.
ctest_configure([BUILD <build-dir>] [SOURCE <source-dir>] [APPEND] [OPTIONS <options>] [RETURN_VALUE <result-var>] [QUIET] [CAPTURE_CMAKE_ERROR <result-var>])
Configure the project build tree and record results in Configure.xml
for submission with the ctest_submit()
command.
The options are:
BUILD <build-dir>
CTEST_BINARY_DIRECTORY
variable is used.SOURCE <source-dir>
CTEST_SOURCE_DIRECTORY
variable is used.APPEND
Configure.xml
for append to results previously submitted to a dashboard server since the last ctest_start()
call. Append semantics are defined by the dashboard server in use. This does not cause results to be appended to a .xml
file produced by a previous call to this command.OPTIONS <options>
RETURN_VALUE <result-var>
<result-var>
variable the return value of the native configuration tool.CAPTURE_CMAKE_ERROR <result-var>
<result-var>
variable -1 if there are any errors running the command and prevent ctest from returning non-zero if an error occurs.QUIET
© 2000–2018 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.12/command/ctest_configure.html