summaryrefslogtreecommitdiff
path: root/Source/cmGetCMakePropertyCommand.h
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 19:12:23 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:19 -0400
commit40ba0addac09b7389d7c554d5c6e9eed74f377e3 (patch)
tree2ca5b07c4e59c2d3226498ea2262b25dc8d1d242 /Source/cmGetCMakePropertyCommand.h
parent9bbe95a0e71e6658a37fe9e755577c80ffa2da9c (diff)
downloadcmake-40ba0addac09b7389d7c554d5c6e9eed74f377e3.tar.gz
cmCommand refactor: cmGetCMakePropertyCommand
Diffstat (limited to 'Source/cmGetCMakePropertyCommand.h')
-rw-r--r--Source/cmGetCMakePropertyCommand.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/Source/cmGetCMakePropertyCommand.h b/Source/cmGetCMakePropertyCommand.h
index 7790a6bcd6..7a6728cfe6 100644
--- a/Source/cmGetCMakePropertyCommand.h
+++ b/Source/cmGetCMakePropertyCommand.h
@@ -8,26 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmGetCMakePropertyCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmGetCMakePropertyCommand>();
- }
-
- /**
- * 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 cmGetCMakePropertyCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif