ctest_configure.rst 981 B

12345678910111213141516171819202122232425
  1. ctest_configure
  2. ---------------
  3. Configure the project build tree.
  4. ::
  5. ctest_configure([BUILD build_dir] [SOURCE source_dir] [APPEND]
  6. [OPTIONS options] [RETURN_VALUE res] [QUIET])
  7. Configures the given build directory and stores results in
  8. Configure.xml. If no BUILD is given, the CTEST_BINARY_DIRECTORY
  9. variable is used. If no SOURCE is given, the CTEST_SOURCE_DIRECTORY
  10. variable is used. The OPTIONS argument specifies command line
  11. arguments to pass to the configuration tool. The RETURN_VALUE option
  12. specifies a variable in which to store the return value of the native
  13. build tool.
  14. The APPEND option marks results for append to those previously
  15. submitted to a dashboard server since the last ctest_start. Append
  16. semantics are defined by the dashboard server in use.
  17. The QUIET option suppresses any CTest-specific non-error messages
  18. that would have otherwise been printed to the console. Output from
  19. the underlying configure command is not affected.