diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-21 18:56:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-26 15:48:46 (GMT) |
commit | ae51aa32f0589e4f5fc9a251a5be534cba631876 (patch) | |
tree | 1348b37bc3dfadc4a38baa1d85ff838c14d16e0c /Source/cmVariableRequiresCommand.h | |
parent | 185fa2c4f3e21542dd42bfb396fc8520d996772a (diff) | |
download | CMake-ae51aa32f0589e4f5fc9a251a5be534cba631876.zip CMake-ae51aa32f0589e4f5fc9a251a5be534cba631876.tar.gz CMake-ae51aa32f0589e4f5fc9a251a5be534cba631876.tar.bz2 |
cmCommand refactor: cmVariableRequiresCommand
Diffstat (limited to 'Source/cmVariableRequiresCommand.h')
-rw-r--r-- | Source/cmVariableRequiresCommand.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h index 38e7490..fb0520e 100644 --- a/Source/cmVariableRequiresCommand.h +++ b/Source/cmVariableRequiresCommand.h @@ -8,21 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -class cmVariableRequiresCommand : public cmCommand -{ -public: - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmVariableRequiresCommand>(); - } - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmVariableRequiresCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |