diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-09 12:24:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:20 (GMT) |
commit | 7c83c192056536defb35df36acf753701a2e78a2 (patch) | |
tree | e1e3b96366105b9ceebebb0e78866c0277d06175 /Source/cmSetDirectoryPropertiesCommand.h | |
parent | 9413952c42d83fb10a70ee96e91a20c55c5f2edc (diff) | |
download | CMake-7c83c192056536defb35df36acf753701a2e78a2.zip CMake-7c83c192056536defb35df36acf753701a2e78a2.tar.gz CMake-7c83c192056536defb35df36acf753701a2e78a2.tar.bz2 |
cmCommand refactor: cmSetDirectoryPropertiesCommand
Diffstat (limited to 'Source/cmSetDirectoryPropertiesCommand.h')
-rw-r--r-- | Source/cmSetDirectoryPropertiesCommand.h | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h index 5416127..c243dd7 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 |