summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommandGenerator.h
diff options
context:
space:
mode:
authorJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>2016-05-04 17:30:19 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-09 12:56:27 (GMT)
commit8c2cedc6243b281a0814b284abbcd1c45c42b085 (patch)
treeb4bd057053fff493dc9ed8f9538e5e039faa6e89 /Source/cmCustomCommandGenerator.h
parenteccfc0d185526b746b722ed3d3d1302515698c9e (diff)
downloadCMake-8c2cedc6243b281a0814b284abbcd1c45c42b085.zip
CMake-8c2cedc6243b281a0814b284abbcd1c45c42b085.tar.gz
CMake-8c2cedc6243b281a0814b284abbcd1c45c42b085.tar.bz2
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.
Diffstat (limited to 'Source/cmCustomCommandGenerator.h')
-rw-r--r--Source/cmCustomCommandGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCustomCommandGenerator.h b/Source/cmCustomCommandGenerator.h
index a637fed..65ce031 100644
--- a/Source/cmCustomCommandGenerator.h
+++ b/Source/cmCustomCommandGenerator.h
@@ -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;