summaryrefslogtreecommitdiff
path: root/Source/cmRemoveCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRemoveCommand.h')
-rw-r--r--Source/cmRemoveCommand.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/Source/cmRemoveCommand.h b/Source/cmRemoveCommand.h
index 7b118497b..fb72ab5f7 100644
--- a/Source/cmRemoveCommand.h
+++ b/Source/cmRemoveCommand.h
@@ -8,29 +8,14 @@
#include <string>
#include <vector>
-#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.
- */
- cmCommand* Clone() override { return new 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