summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-21 10:18:17 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-02-21 17:27:21 (GMT)
commit84819c79e7efde0155dbb8431d0a205b325ce1cc (patch)
treebb964ec3d72ee7cad28cde1cfbaed63f997884e0 /Source/cmQtAutoGenInitializer.h
parentd9893fb594c904605b3b9ebf3548d2f48793f788 (diff)
downloadCMake-84819c79e7efde0155dbb8431d0a205b325ce1cc.zip
CMake-84819c79e7efde0155dbb8431d0a205b325ce1cc.tar.gz
CMake-84819c79e7efde0155dbb8431d0a205b325ce1cc.tar.bz2
Autogen: Refactor cmQtAutoGenInitializer::AddGeneratedSource method
In AUTOGEN pass the abstract cmQtAutoGenInitializer::GenVarsT to methods to identify the generator (moc/uic/rcc).
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r--Source/cmQtAutoGenInitializer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h
index d3db8ea..e2bbac0 100644
--- a/Source/cmQtAutoGenInitializer.h
+++ b/Source/cmQtAutoGenInitializer.h
@@ -120,8 +120,11 @@ private:
bool SetupWriteAutogenInfo();
bool SetupWriteRccInfo();
- void AddGeneratedSource(std::string const& filename, GenT genType,
+ void RegisterGeneratedSource(std::string const& filename);
+ bool AddGeneratedSource(std::string const& filename, GenVarsT const& genVars,
bool prepend = false);
+ bool AddToSourceGroup(std::string const& fileName,
+ std::string const& genNameUpper);
bool GetQtExecutable(GenVarsT& genVars, const std::string& executable,
bool ignoreMissingTarget, std::string* output) const;