ctest_upload.rst 659 B

1234567891011121314151617181920212223242526
  1. ctest_upload
  2. ------------
  3. Upload files to a dashboard server as a :ref:`Dashboard Client`.
  4. ::
  5. ctest_upload(FILES <file>... [QUIET] [CAPTURE_CMAKE_ERROR <result-var>])
  6. The options are:
  7. ``FILES <file>...``
  8. Specify a list of files to be sent along with the build results to the
  9. dashboard server.
  10. ``QUIET``
  11. .. versionadded:: 3.3
  12. Suppress any CTest-specific non-error output that would have been
  13. printed to the console otherwise.
  14. ``CAPTURE_CMAKE_ERROR <result-var>``
  15. .. versionadded:: 3.7
  16. Store in the ``<result-var>`` variable -1 if there are any errors running
  17. the command and prevent ctest from returning non-zero if an error occurs.