diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-07-25 15:31:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | 3e5eb45ec1fd977b709da6e36966b0b13d185214 (patch) | |
tree | ea0dbaf79cf4b964ba1cda005850fe16e269853c /Source/cmExecuteProcessCommand.h | |
parent | 0d87f5d83e52ceb72f754331a9fd3d7189680297 (diff) | |
download | CMake-3e5eb45ec1fd977b709da6e36966b0b13d185214.zip CMake-3e5eb45ec1fd977b709da6e36966b0b13d185214.tar.gz CMake-3e5eb45ec1fd977b709da6e36966b0b13d185214.tar.bz2 |
cmCommand refactor: cmExecuteProcessCommand
Diffstat (limited to 'Source/cmExecuteProcessCommand.h')
-rw-r--r-- | Source/cmExecuteProcessCommand.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/Source/cmExecuteProcessCommand.h b/Source/cmExecuteProcessCommand.h index 1d5445f..9c4b600 100644 --- a/Source/cmExecuteProcessCommand.h +++ b/Source/cmExecuteProcessCommand.h @@ -8,35 +8,15 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmExecuteProcessCommand +/** * \brief Command that adds a target to the build system. * * cmExecuteProcessCommand is a CMake language interface to the KWSys * Process Execution implementation. */ -class cmExecuteProcessCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmExecuteProcessCommand>(); - } - - /** - * 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 cmExecuteProcessCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |