cmCTestRunScriptCommand.h 781 B

12345678910111213141516171819202122232425262728293031
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include "cmConfigure.h" // IWYU pragma: keep
  5. #include <string>
  6. #include <vector>
  7. #include "cmCTestCommand.h"
  8. class cmExecutionStatus;
  9. /** \class cmCTestRunScript
  10. * \brief Run a ctest script
  11. *
  12. * cmLibrarysCommand defines a list of executable (i.e., test)
  13. * programs to create.
  14. */
  15. class cmCTestRunScriptCommand : public cmCTestCommand
  16. {
  17. public:
  18. using cmCTestCommand::cmCTestCommand;
  19. /**
  20. * This is called when the command is first encountered in
  21. * the CMakeLists.txt file.
  22. */
  23. bool InitialPass(std::vector<std::string> const& args,
  24. cmExecutionStatus& status) const override;
  25. };