cmCommand refactor: cmSetDirectoryPropertiesCommand

This commit is contained in:
Gabor Bencze
2019-08-09 14:24:17 +02:00
committed by Brad King
parent 9413952c42
commit 7c83c19205
3 changed files with 21 additions and 40 deletions
+2 -28
View File
@@ -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