summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-19 17:27:24 +0100
committerBrad King <brad.king@kitware.com>2019-02-19 13:11:44 -0500
commitb5befac15465945d86b8c4d5603c2afd1ea29756 (patch)
tree18bbb91bff2686a5b1a0ef7e62c415729eb0c193 /Source/cmQtAutoGenInitializer.h
parenta4e01d6707e9cfe50b2f49f140c8a9894cd8108f (diff)
downloadcmake-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.h4
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;