diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-04-18 11:46:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-19 16:51:26 (GMT) |
commit | cf679ea8dcd04c1217cd7c664117439fdd370f10 (patch) | |
tree | a052c2b3d19becc4e918f346631a340b09d2b297 /Source/cmQtAutoGenerators.h | |
parent | 3ea1d09082de6b5ed4fbb7f9be04a0172c01c0be (diff) | |
download | CMake-cf679ea8dcd04c1217cd7c664117439fdd370f10.zip CMake-cf679ea8dcd04c1217cd7c664117439fdd370f10.tar.gz CMake-cf679ea8dcd04c1217cd7c664117439fdd370f10.tar.bz2 |
Autogen: Split out moc file generation code to dedicated method
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index 5b33d16..51959be 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -39,6 +39,9 @@ private: std::string MakeCompileSettingsString(cmMakefile* makefile); bool RunAutogen(cmMakefile* makefile); + bool GenerateMocFiles( + const std::map<std::string, std::string>& includedMocs, + const std::map<std::string, std::string>& notIncludedMocs); bool GenerateMoc(const std::string& sourceFile, const std::string& mocFileName); bool GenerateUi(const std::string& realName, const std::string& uiFileName); @@ -100,6 +103,7 @@ private: std::string CurrentCompileSettingsStr; std::string OldCompileSettingsStr; + std::string OutMocCppFilenameRel; std::string OutMocCppFilename; std::list<std::string> MocIncludes; std::list<std::string> MocDefinitions; |