blob: 783c53ffe458449d9e23000c467e766dc462c441 [file] [edit]
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
#include <vector>
#include <cm/optional>
namespace cm {
namespace StdIo {
class Console;
}
}
namespace cmcmd {
/**
* Execute commands during the build process. Supports options such
* as echo, remove file etc.
*/
int ExecuteCMakeCommand(std::vector<std::string> args,
cm::optional<cm::StdIo::Console> console);
}