summaryrefslogtreecommitdiff
path: root/Source/cmSetDirectoryPropertiesCommand.h
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-09 14:24:17 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:20 -0400
commit7c83c192056536defb35df36acf753701a2e78a2 (patch)
treee1e3b96366105b9ceebebb0e78866c0277d06175 /Source/cmSetDirectoryPropertiesCommand.h
parent9413952c42d83fb10a70ee96e91a20c55c5f2edc (diff)
downloadcmake-7c83c192056536defb35df36acf753701a2e78a2.tar.gz
cmCommand refactor: cmSetDirectoryPropertiesCommand
Diffstat (limited to 'Source/cmSetDirectoryPropertiesCommand.h')
-rw-r--r--Source/cmSetDirectoryPropertiesCommand.h30
1 files changed, 2 insertions, 28 deletions
diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h
index 5416127476..c243dd70f7 100644
--- a/Source/cmSetDirectoryPropertiesCommand.h
+++ b/Source/cmSetDirectoryPropertiesCommand.h
@@ -8,35 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmMakefile;
-
-class cmSetDirectoryPropertiesCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmSetDirectoryPropertiesCommand>();
- }
-
- /**
- * 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 entry point for use by other commands
- */
- static bool RunCommand(cmMakefile* mf,
- std::vector<std::string>::const_iterator ait,
- std::vector<std::string>::const_iterator aitend,
- std::string& errors);
-};
+bool cmSetDirectoryPropertiesCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif