diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-04 19:05:36 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 14:42:20 -0400 |
commit | 2a9299782ece0e2c5f990fcab2162d141aedb833 (patch) | |
tree | 59efb7f814308fb9bd2c7c27db0ef74a628e0e31 /Source/cmSeparateArgumentsCommand.h | |
parent | d780822da61afb5fd3014f7e15c68eb2eb0754c3 (diff) | |
download | cmake-2a9299782ece0e2c5f990fcab2162d141aedb833.tar.gz |
cmCommand refactor: cmSeparateArgumentsCommand
Diffstat (limited to 'Source/cmSeparateArgumentsCommand.h')
-rw-r--r-- | Source/cmSeparateArgumentsCommand.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/Source/cmSeparateArgumentsCommand.h b/Source/cmSeparateArgumentsCommand.h index 76e2002776..e000c511d2 100644 --- a/Source/cmSeparateArgumentsCommand.h +++ b/Source/cmSeparateArgumentsCommand.h @@ -8,34 +8,14 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmSeparateArgumentsCommand +/** * \brief separate_arguments command * * cmSeparateArgumentsCommand implements the separate_arguments CMake command */ -class cmSeparateArgumentsCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmSeparateArgumentsCommand>(); - } - - /** - * 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 cmSeparateArgumentsCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |