diff options
author | Marek Antoniak <kfazol@gmail.com> | 2019-05-30 14:11:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-03 14:17:17 (GMT) |
commit | fec441ec17d74b6444fad2a3e32a47dd19f1be5b (patch) | |
tree | 073dc1ab354485e4be0caba5730b83bad97a979f /Source/cmCustomCommandGenerator.h | |
parent | 3cb5a8d9b3add4394b12d61b5ce83ea6ca148fd1 (diff) | |
download | CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.zip CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.tar.gz CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.tar.bz2 |
Teach CROSSCOMPILING_EMULATOR to support arguments
Fixes: #19321
Diffstat (limited to 'Source/cmCustomCommandGenerator.h')
-rw-r--r-- | Source/cmCustomCommandGenerator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCustomCommandGenerator.h b/Source/cmCustomCommandGenerator.h index 7fd60c0..766f4b8 100644 --- a/Source/cmCustomCommandGenerator.h +++ b/Source/cmCustomCommandGenerator.h @@ -22,10 +22,12 @@ class cmCustomCommandGenerator bool MakeVars; cmGeneratorExpression* GE; cmCustomCommandLines CommandLines; + std::vector<std::vector<std::string>> EmulatorsWithArguments; std::vector<std::string> Depends; std::string WorkingDirectory; - const char* GetCrossCompilingEmulator(unsigned int c) const; + void FillEmulatorsWithArguments(); + std::vector<std::string> GetCrossCompilingEmulator(unsigned int c) const; const char* GetArgv0Location(unsigned int c) const; public: |