diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:20:21 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:20:21 +0900 |
commit | 2cae257828342914a3573b14d86b7abc5a77fe3d (patch) | |
tree | d5b38c9a5891bfc428274d3fa993301ff13178c6 /Source/cmcmd.h | |
parent | 50689498d1ad916f12dc24a034014fe5e4cb9904 (diff) | |
download | cmake-2cae257828342914a3573b14d86b7abc5a77fe3d.tar.gz cmake-2cae257828342914a3573b14d86b7abc5a77fe3d.tar.bz2 cmake-2cae257828342914a3573b14d86b7abc5a77fe3d.zip |
Imported Upstream version 3.18.5upstream/3.18.5
Diffstat (limited to 'Source/cmcmd.h')
-rw-r--r-- | Source/cmcmd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmcmd.h b/Source/cmcmd.h index 5b6c81333..ffadd5a10 100644 --- a/Source/cmcmd.h +++ b/Source/cmcmd.h @@ -5,11 +5,14 @@ #include "cmConfigure.h" // IWYU pragma: keep +#include <memory> #include <string> #include <vector> #include "cmCryptoHash.h" +class cmConsoleBuf; + class cmcmd { public: @@ -17,7 +20,8 @@ public: * Execute commands during the build process. Supports options such * as echo, remove file etc. */ - static int ExecuteCMakeCommand(std::vector<std::string> const&); + static int ExecuteCMakeCommand(std::vector<std::string> const&, + std::unique_ptr<cmConsoleBuf> consoleBuf); protected: static int HandleCoCompileCommands(std::vector<std::string> const& args); |