2014-08-03 19:52:23 +02:00
|
|
|
ctest_upload
|
|
|
|
------------
|
|
|
|
|
2015-08-17 11:37:30 +02:00
|
|
|
Upload files to a dashboard server as a :ref:`Dashboard Client`.
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2023-05-23 16:38:00 +02:00
|
|
|
.. code-block:: cmake
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2016-10-30 18:24:19 +01:00
|
|
|
ctest_upload(FILES <file>... [QUIET] [CAPTURE_CMAKE_ERROR <result-var>])
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2015-08-17 11:37:30 +02:00
|
|
|
The options are:
|
|
|
|
|
|
|
|
``FILES <file>...``
|
|
|
|
Specify a list of files to be sent along with the build results to the
|
|
|
|
dashboard server.
|
|
|
|
|
|
|
|
``QUIET``
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.3
|
|
|
|
|
2015-08-17 11:37:30 +02:00
|
|
|
Suppress any CTest-specific non-error output that would have been
|
|
|
|
printed to the console otherwise.
|
2016-10-30 18:24:19 +01:00
|
|
|
|
|
|
|
``CAPTURE_CMAKE_ERROR <result-var>``
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.7
|
|
|
|
|
2016-10-30 18:24:19 +01:00
|
|
|
Store in the ``<result-var>`` variable -1 if there are any errors running
|
|
|
|
the command and prevent ctest from returning non-zero if an error occurs.
|