diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-19 16:27:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-19 18:11:44 (GMT) |
commit | b5befac15465945d86b8c4d5603c2afd1ea29756 (patch) | |
tree | 18bbb91bff2686a5b1a0ef7e62c415729eb0c193 /Source/cmQtAutoGenInitializer.h | |
parent | a4e01d6707e9cfe50b2f49f140c8a9894cd8108f (diff) | |
download | CMake-b5befac15465945d86b8c4d5603c2afd1ea29756.zip CMake-b5befac15465945d86b8c4d5603c2afd1ea29756.tar.gz CMake-b5befac15465945d86b8c4d5603c2afd1ea29756.tar.bz2 |
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 10f0bf3..781dd15 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; |