summaryrefslogtreecommitdiff
path: root/Source/cmBuildNameCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-13 13:43:47 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-08-16 10:47:22 +0200
commitc55fb044a9cf20a449f9d5ebc5d88c6de279786d (patch)
treeb29f89ff8654723450e61b9be98d507db850e7a7 /Source/cmBuildNameCommand.h
parent86bf1eef7587b837057f098927fb6e7e10149c66 (diff)
downloadcmake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.tar.gz
cmBuildNameCommand: Implement as free function
Diffstat (limited to 'Source/cmBuildNameCommand.h')
-rw-r--r--Source/cmBuildNameCommand.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h
index bd2d146832..37a72689cf 100644
--- a/Source/cmBuildNameCommand.h
+++ b/Source/cmBuildNameCommand.h
@@ -8,21 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-class cmBuildNameCommand : public cmCommand
-{
-public:
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmBuildNameCommand>();
- }
- bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) override;
-};
+bool cmBuildNameCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif