diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-04 16:39:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:20 (GMT) |
commit | cfc7854ef07369d6fb614a4483543afaf72a5208 (patch) | |
tree | fb8ab8ed163cb4dd52bd6bcef559d03657d43d0a /Source/cmMessageCommand.h | |
parent | 71724633a24fccfdf3d56a19176d8afe637be843 (diff) | |
download | CMake-cfc7854ef07369d6fb614a4483543afaf72a5208.zip CMake-cfc7854ef07369d6fb614a4483543afaf72a5208.tar.gz CMake-cfc7854ef07369d6fb614a4483543afaf72a5208.tar.bz2 |
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 ef89d59..7d544c4 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 |