summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.h
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-21 18:53:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-26 15:48:46 (GMT)
commit185fa2c4f3e21542dd42bfb396fc8520d996772a (patch)
tree0fa55c90b2622083c0c7e956ed0d037d23471ff3 /Source/cmUtilitySourceCommand.h
parentc8deeac68f1462461a464acd6d2c2728b9a293c2 (diff)
downloadCMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.zip
CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.tar.gz
CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.tar.bz2
cmCommand refactor: cmUtilitySourceCommand
Diffstat (limited to 'Source/cmUtilitySourceCommand.h')
-rw-r--r--Source/cmUtilitySourceCommand.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h
index cef7fed..934d539 100644
--- a/Source/cmUtilitySourceCommand.h
+++ b/Source/cmUtilitySourceCommand.h
@@ -8,21 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmUtilitySourceCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmUtilitySourceCommand>();
- }
- bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) override;
-};
+bool cmUtilitySourceCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif