summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenerators.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-01-11 22:34:24 +0100
committerSebastian Holtermann <sebholt@xwmw.org>2017-01-13 00:00:44 +0100
commit9f47d32697686265bc2c5a708d2b53e2337f3f10 (patch)
tree15343ead0f3e540659415ea2a41b850f95976385 /Source/cmQtAutoGenerators.h
parent597124ba8e409edc28cbf8f2a55150d2913a50e3 (diff)
downloadcmake-9f47d32697686265bc2c5a708d2b53e2337f3f10.tar.gz
Autogen: Generators: Save the MOC settings that were actually used
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r--Source/cmQtAutoGenerators.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
index c2be22cd34..a26cfbc830 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;