cmSetTargetPropertiesCommand: Port away from cmCommand

This commit is contained in:
Regina Pfeifer
2019-09-18 17:38:07 +02:00
parent 77aa75b8dc
commit 42e413bcbb
3 changed files with 25 additions and 50 deletions
+2 -27
View File
@@ -8,34 +8,9 @@
#include <string>
#include <vector>
#include <cm/memory>
#include "cmCommand.h"
class cmExecutionStatus;
class cmMakefile;
class cmSetTargetPropertiesCommand : public cmCommand
{
public:
std::unique_ptr<cmCommand> Clone() override
{
return cm::make_unique<cmSetTargetPropertiesCommand>();
}
/**
* This is called when the command is first encountered in
* the input file.
*/
bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus& status) override;
/**
* Used by this command and cmSetPropertiesCommand
*/
static bool SetOneTarget(const std::string& tname,
std::vector<std::string>& propertyPairs,
cmMakefile* mf);
};
bool cmSetTargetPropertiesCommand(std::vector<std::string> const& args,
cmExecutionStatus& status);
#endif