cmCTestRunScriptCommand.h 646 B

12345678910111213141516171819202122232425
  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 "cmCTestCommand.h"
  7. /** \class cmCTestRunScript
  8. * \brief Run a ctest script
  9. */
  10. class cmCTestRunScriptCommand : public cmCTestCommand
  11. {
  12. public:
  13. using cmCTestCommand::cmCTestCommand;
  14. /**
  15. * This is called when the command is first encountered in
  16. * the CMakeLists.txt file.
  17. */
  18. bool InitialPass(std::vector<std::string> const& args,
  19. cmExecutionStatus& status) const override;
  20. };