mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
CustomCommandGenerator: Add support for CROSSCOMPILING_EMULATOR
Teach the `add_custom_command` and `add_custom_target' commands to substitute argv0 with the crosscompiling emulator if it is a target with the `CROSSCOMPILING_EMULATOR` property set.
This commit is contained in:
committed by
Brad King
parent
eccfc0d185
commit
8c2cedc624
@@ -36,6 +36,7 @@ public:
|
||||
cmCustomCommand const& GetCC() const { return this->CC; }
|
||||
unsigned int GetNumberOfCommands() const;
|
||||
std::string GetCommand(unsigned int c) const;
|
||||
bool UseCrossCompilingEmulator(unsigned int c) const;
|
||||
void AppendArguments(unsigned int c, std::string& cmd) const;
|
||||
const char* GetComment() const;
|
||||
std::string GetWorkingDirectory() const;
|
||||
|
||||
Reference in New Issue
Block a user