cmSetTestsPropertiesCommand.h 998 B

1234567891011121314151617181920212223242526272829303132
  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 cmSetTestsPropertiesCommand_h
  4. #define cmSetTestsPropertiesCommand_h
  5. #include "cmCommand.h"
  6. class cmSetTestsPropertiesCommand : public cmCommand
  7. {
  8. public:
  9. cmCommand* Clone() CM_OVERRIDE { return new cmSetTestsPropertiesCommand; }
  10. /**
  11. * This is called when the command is first encountered in
  12. * the input file.
  13. */
  14. bool InitialPass(std::vector<std::string> const& args,
  15. cmExecutionStatus& status) CM_OVERRIDE;
  16. /**
  17. * The name of the command as specified in CMakeList.txt.
  18. */
  19. std::string GetName() const CM_OVERRIDE { return "set_tests_properties"; }
  20. cmTypeMacro(cmSetTestsPropertiesCommand, cmCommand);
  21. static bool SetOneTest(const std::string& tname,
  22. std::vector<std::string>& propertyPairs,
  23. cmMakefile* mf, std::string& errors);
  24. };
  25. #endif