diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-09 09:51:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:20 (GMT) |
commit | b1acc711f4cdf62a850c09a85256482db2e2af2e (patch) | |
tree | 35a898effd42a0e38f2ad9ccdea1983d2fc59464 /Source/cmRemoveCommand.h | |
parent | 413a960391291678f216fe3d2bbfbd3fdca84168 (diff) | |
download | CMake-b1acc711f4cdf62a850c09a85256482db2e2af2e.zip CMake-b1acc711f4cdf62a850c09a85256482db2e2af2e.tar.gz CMake-b1acc711f4cdf62a850c09a85256482db2e2af2e.tar.bz2 |
cmCommand refactor: cmRemoveCommand
Diffstat (limited to 'Source/cmRemoveCommand.h')
-rw-r--r-- | Source/cmRemoveCommand.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/Source/cmRemoveCommand.h b/Source/cmRemoveCommand.h index 088d8ad..fb72ab5 100644 --- a/Source/cmRemoveCommand.h +++ b/Source/cmRemoveCommand.h @@ -8,34 +8,14 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmRemoveCommand +/** * \brief remove command * * cmRemoveCommand implements the remove CMake command */ -class cmRemoveCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmRemoveCommand>(); - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmRemoveCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |