mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <functional>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
@@ -19,6 +20,8 @@ class cmLocalGenerator;
|
||||
|
||||
class cmCustomCommandGenerator
|
||||
{
|
||||
std::string GetInternalDepfileName(const std::string&, const std::string&);
|
||||
|
||||
cmCustomCommand const* CC;
|
||||
std::string OutputConfig;
|
||||
std::string CommandConfig;
|
||||
@@ -32,15 +35,19 @@ class cmCustomCommandGenerator
|
||||
std::vector<std::string> Depends;
|
||||
std::string WorkingDirectory;
|
||||
std::set<BT<std::pair<std::string, bool>>> Utilities;
|
||||
std::function<std::string(const std::string&, const std::string&)>
|
||||
ComputeInternalDepfile;
|
||||
|
||||
void FillEmulatorsWithArguments();
|
||||
std::vector<std::string> GetCrossCompilingEmulator(unsigned int c) const;
|
||||
const char* GetArgv0Location(unsigned int c) const;
|
||||
|
||||
public:
|
||||
cmCustomCommandGenerator(cmCustomCommand const& cc, std::string config,
|
||||
cmLocalGenerator* lg, bool transformDepfile = true,
|
||||
cm::optional<std::string> crossConfig = {});
|
||||
cmCustomCommandGenerator(
|
||||
cmCustomCommand const& cc, std::string config, cmLocalGenerator* lg,
|
||||
bool transformDepfile = true, cm::optional<std::string> crossConfig = {},
|
||||
std::function<std::string(const std::string&, const std::string&)>
|
||||
computeInternalDepfile = {});
|
||||
cmCustomCommandGenerator(const cmCustomCommandGenerator&) = delete;
|
||||
cmCustomCommandGenerator(cmCustomCommandGenerator&&) = default;
|
||||
cmCustomCommandGenerator& operator=(const cmCustomCommandGenerator&) =
|
||||
|
||||
Reference in New Issue
Block a user