cmCTestRunScriptCommand.h 690 B

12345678910111213141516171819202122232425262728
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file LICENSE.rst 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. class cmCTestRunScriptCommand : public cmCTestCommand
  13. {
  14. public:
  15. using cmCTestCommand::cmCTestCommand;
  16. /**
  17. * This is called when the command is first encountered in
  18. * the CMakeLists.txt file.
  19. */
  20. bool InitialPass(std::vector<std::string> const& args,
  21. cmExecutionStatus& status) const override;
  22. };