summaryrefslogtreecommitdiffstats
path: root/Source/cmSetSourceFilesPropertiesCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 14:28:00 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commit95f23ea5d5a07da503f8e2ab9c52c82086cdcae4 (patch)
tree254ea3cd2162af097f82daab7980aa1c0d449585 /Source/cmSetSourceFilesPropertiesCommand.h
parent706400d417e6435a442af2626a8430016e24aa9d (diff)
downloadCMake-95f23ea5d5a07da503f8e2ab9c52c82086cdcae4.zip
CMake-95f23ea5d5a07da503f8e2ab9c52c82086cdcae4.tar.gz
CMake-95f23ea5d5a07da503f8e2ab9c52c82086cdcae4.tar.bz2
cmSetSourceFilesPropertiesCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmSetSourceFilesPropertiesCommand.h')
-rw-r--r--Source/cmSetSourceFilesPropertiesCommand.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/Source/cmSetSourceFilesPropertiesCommand.h b/Source/cmSetSourceFilesPropertiesCommand.h
index 6fd6c41..5eef785 100644
--- a/Source/cmSetSourceFilesPropertiesCommand.h
+++ b/Source/cmSetSourceFilesPropertiesCommand.h
@@ -8,34 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmMakefile;
-
-class cmSetSourceFilesPropertiesCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmSetSourceFilesPropertiesCommand>();
- }
-
- /**
- * 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 bool RunCommand(cmMakefile* mf,
- std::vector<std::string>::const_iterator filebeg,
- std::vector<std::string>::const_iterator fileend,
- std::vector<std::string>::const_iterator propbeg,
- std::vector<std::string>::const_iterator propend,
- std::string& errors);
-};
+bool cmSetSourceFilesPropertiesCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif