diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-19 17:27:24 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-19 13:11:44 -0500 |
commit | b5befac15465945d86b8c4d5603c2afd1ea29756 (patch) | |
tree | 18bbb91bff2686a5b1a0ef7e62c415729eb0c193 /Source/cmQtAutoGenInitializer.h | |
parent | a4e01d6707e9cfe50b2f49f140c8a9894cd8108f (diff) | |
download | cmake-b5befac15465945d86b8c4d5603c2afd1ea29756.tar.gz |
Autogen: Use output caching GetExecutableTestOutput
Use the output caching cmQtAutoGenGlobalInitializer::GetExecutableTestOutput
method to avoid identical calls to moc, uic and rcc.
Closes #18947
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r-- | Source/cmQtAutoGenInitializer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h index 10f0bf316d..781dd15d66 100644 --- a/Source/cmQtAutoGenInitializer.h +++ b/Source/cmQtAutoGenInitializer.h @@ -110,6 +110,10 @@ private: std::vector<std::string>& files, std::string& errorMessage); + std::pair<bool, std::string> GetQtExecutable(const std::string& executable, + bool ignoreMissingTarget, + std::string* output); + private: cmQtAutoGenGlobalInitializer* GlobalInitializer; cmGeneratorTarget* Target; |