diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-13 11:43:47 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-16 08:47:22 (GMT) |
commit | c55fb044a9cf20a449f9d5ebc5d88c6de279786d (patch) | |
tree | b29f89ff8654723450e61b9be98d507db850e7a7 /Source/cmBuildNameCommand.h | |
parent | 86bf1eef7587b837057f098927fb6e7e10149c66 (diff) | |
download | CMake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.zip CMake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.tar.gz CMake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.tar.bz2 |
cmBuildNameCommand: Implement as free function
Diffstat (limited to 'Source/cmBuildNameCommand.h')
-rw-r--r-- | Source/cmBuildNameCommand.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h index bd2d146..37a7268 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 |