diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-04 18:39:45 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 14:42:20 -0400 |
commit | cfc7854ef07369d6fb614a4483543afaf72a5208 (patch) | |
tree | fb8ab8ed163cb4dd52bd6bcef559d03657d43d0a /Source/cmMessageCommand.h | |
parent | 71724633a24fccfdf3d56a19176d8afe637be843 (diff) | |
download | cmake-cfc7854ef07369d6fb614a4483543afaf72a5208.tar.gz |
cmCommand refactor: CmMessageCommand
Diffstat (limited to 'Source/cmMessageCommand.h')
-rw-r--r-- | Source/cmMessageCommand.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/Source/cmMessageCommand.h b/Source/cmMessageCommand.h index ef89d59f54..7d544c408d 100644 --- a/Source/cmMessageCommand.h +++ b/Source/cmMessageCommand.h @@ -8,33 +8,13 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmMessageCommand +/** * \brief Displays a message to the user * */ -class cmMessageCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmMessageCommand>(); - } - - /** - * 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 cmMessageCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |