cmCTestReadCustomFilesCommand.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmCTestReadCustomFilesCommand_h
  4. #define cmCTestReadCustomFilesCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include "cmCTestCommand.h"
  7. #include <string>
  8. #include <vector>
  9. class cmCommand;
  10. class cmExecutionStatus;
  11. /** \class cmCTestReadCustomFiles
  12. * \brief Run a ctest script
  13. *
  14. * cmLibrarysCommand defines a list of executable (i.e., test)
  15. * programs to create.
  16. */
  17. class cmCTestReadCustomFilesCommand : public cmCTestCommand
  18. {
  19. public:
  20. cmCTestReadCustomFilesCommand() {}
  21. /**
  22. * This is a virtual constructor for the command.
  23. */
  24. cmCommand* Clone() override
  25. {
  26. cmCTestReadCustomFilesCommand* ni = new cmCTestReadCustomFilesCommand;
  27. ni->CTest = this->CTest;
  28. return ni;
  29. }
  30. /**
  31. * This is called when the command is first encountered in
  32. * the CMakeLists.txt file.
  33. */
  34. bool InitialPass(std::vector<std::string> const& args,
  35. cmExecutionStatus& status) override;
  36. };
  37. #endif