summaryrefslogtreecommitdiff
path: root/Source/cmGetTestPropertyCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:14:27 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commitb46970cfe9e0c96a9794acb49fc580565bcd6e91 (patch)
treef0580289806fbdf792dfd4b68e27acc332b8a644 /Source/cmGetTestPropertyCommand.h
parent0b95c64e43e5f60ee9c60570f359a40e4e882096 (diff)
downloadcmake-b46970cfe9e0c96a9794acb49fc580565bcd6e91.tar.gz
cmGetTestPropertyCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmGetTestPropertyCommand.h')
-rw-r--r--Source/cmGetTestPropertyCommand.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/Source/cmGetTestPropertyCommand.h b/Source/cmGetTestPropertyCommand.h
index a53a7f7448..30beb8f0f6 100644
--- a/Source/cmGetTestPropertyCommand.h
+++ b/Source/cmGetTestPropertyCommand.h
@@ -8,26 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmGetTestPropertyCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmGetTestPropertyCommand>();
- }
-
- /**
- * This is called when the command is first encountered in
- * the input file.
- */
- bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) override;
-};
+bool cmGetTestPropertyCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif