summaryrefslogtreecommitdiff
path: root/Source/cmcmd.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:21 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:21 +0900
commit2cae257828342914a3573b14d86b7abc5a77fe3d (patch)
treed5b38c9a5891bfc428274d3fa993301ff13178c6 /Source/cmcmd.h
parent50689498d1ad916f12dc24a034014fe5e4cb9904 (diff)
downloadcmake-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.h6
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);