diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-02 16:42:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | 9ae9f3e77e375c143e5200624f12d15e2bba02d4 (patch) | |
tree | 4f2aa8905e8b84932de29357b4f48bfbb260ae93 /Source/cmMacroCommand.h | |
parent | ceab7bda44b06fc6fdb842b7a51ccc662c907fb9 (diff) | |
download | CMake-9ae9f3e77e375c143e5200624f12d15e2bba02d4.zip CMake-9ae9f3e77e375c143e5200624f12d15e2bba02d4.tar.gz CMake-9ae9f3e77e375c143e5200624f12d15e2bba02d4.tar.bz2 |
cmCommand refactor: cmMacroCommand
Diffstat (limited to 'Source/cmMacroCommand.h')
-rw-r--r-- | Source/cmMacroCommand.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h index 0d7083a..25091ea 100644 --- a/Source/cmMacroCommand.h +++ b/Source/cmMacroCommand.h @@ -8,30 +8,10 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; /// Starts macro() ... endmacro() block -class cmMacroCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmMacroCommand>(); - } - - /** - * 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 cmMacroCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |