summaryrefslogtreecommitdiffstats
path: root/Source/cmSetTestsPropertiesCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 14:28:59 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commit573cd4e4b43d8d3b75f6e7c420b5f833cdd2120e (patch)
treee45ae0fdfff920a55ccaffa486a92ae795e73cb5 /Source/cmSetTestsPropertiesCommand.h
parent95f23ea5d5a07da503f8e2ab9c52c82086cdcae4 (diff)
downloadCMake-573cd4e4b43d8d3b75f6e7c420b5f833cdd2120e.zip
CMake-573cd4e4b43d8d3b75f6e7c420b5f833cdd2120e.tar.gz
CMake-573cd4e4b43d8d3b75f6e7c420b5f833cdd2120e.tar.bz2
cmSetTestsPropertiesCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmSetTestsPropertiesCommand.h')
-rw-r--r--Source/cmSetTestsPropertiesCommand.h26
1 files changed, 2 insertions, 24 deletions
diff --git a/Source/cmSetTestsPropertiesCommand.h b/Source/cmSetTestsPropertiesCommand.h
index d73e95a..4b75464 100644
--- a/Source/cmSetTestsPropertiesCommand.h
+++ b/Source/cmSetTestsPropertiesCommand.h
@@ -8,31 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmMakefile;
-
-class cmSetTestsPropertiesCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmSetTestsPropertiesCommand>();
- }
-
- /**
- * This is called when the command is first encountered in
- * the input file.
- */
- bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) override;
- static bool SetOneTest(const std::string& tname,
- std::vector<std::string>& propertyPairs,
- cmMakefile* mf, std::string& errors);
-};
+bool cmSetTestsPropertiesCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif