diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-01-11 21:34:24 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-01-12 23:00:44 (GMT) |
commit | 9f47d32697686265bc2c5a708d2b53e2337f3f10 (patch) | |
tree | 15343ead0f3e540659415ea2a41b850f95976385 /Source/cmQtAutoGenerators.h | |
parent | 597124ba8e409edc28cbf8f2a55150d2913a50e3 (diff) | |
download | CMake-9f47d32697686265bc2c5a708d2b53e2337f3f10.zip CMake-9f47d32697686265bc2c5a708d2b53e2337f3f10.tar.gz CMake-9f47d32697686265bc2c5a708d2b53e2337f3f10.tar.bz2 |
Autogen: Generators: Save the MOC settings that were actually used
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index c2be22c..a26cfbc 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -26,11 +26,11 @@ private: bool ReadAutogenInfoFile(cmMakefile* makefile, const std::string& targetDirectory, const std::string& config); - void ReadOldMocDefinitionsFile(cmMakefile* makefile, - const std::string& targetDirectory); - bool WriteOldMocDefinitionsFile(const std::string& targetDirectory); - static std::string MakeCompileSettingsString(cmMakefile* makefile); + std::string MocCurrentSettingsString(); + void ReadOldMocSettingsFile(cmMakefile* makefile, + const std::string& targetDirectory); + bool WriteOldMocSettingsFile(const std::string& targetDirectory); // - Init and run void Init(); @@ -133,6 +133,7 @@ private: std::list<std::string> MocIncludes; std::list<std::string> MocDefinitions; std::vector<std::string> MocOptions; + std::string MocSettingsString; // - Uic std::vector<std::string> SkipUic; std::vector<std::string> UicTargetOptions; @@ -141,9 +142,6 @@ private: std::vector<std::string> RccSources; std::map<std::string, std::string> RccOptions; std::map<std::string, std::vector<std::string> > RccInputs; - // - Settings - std::string CurrentCompileSettingsStr; - std::string OldCompileSettingsStr; // - Utility cmFilePathChecksum fpathCheckSum; cmsys::RegularExpression RegExpQObject; |