ctest_upload.rst 609 B

12345678910111213141516171819202122
  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. Suppress any CTest-specific non-error output that would have been
  12. printed to the console otherwise.
  13. ``CAPTURE_CMAKE_ERROR <result-var>``
  14. Store in the ``<result-var>`` variable -1 if there are any errors running
  15. the command and prevent ctest from returning non-zero if an error occurs.