summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-15 09:22:29 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-19 11:35:42 (GMT)
commita9e3c903b6f74d181c76d1a2014a3af2babe6e41 (patch)
tree3e70168858a892f332ebbf532fe309278654d531 /Source
parent2f3ecd4ea9518b2a110b995fe9ac171f026ccad5 (diff)
downloadCMake-a9e3c903b6f74d181c76d1a2014a3af2babe6e41.zip
CMake-a9e3c903b6f74d181c76d1a2014a3af2babe6e41.tar.gz
CMake-a9e3c903b6f74d181c76d1a2014a3af2babe6e41.tar.bz2
Autogen: Rename variables read from info file
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutoGenerators.cxx18
-rw-r--r--Source/cmQtAutoGenerators.h6
2 files changed, 12 insertions, 12 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 99f5ef7..002e95b 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -335,11 +335,11 @@ bool cmQtAutoGenerators::ReadAutogenInfoFile(
// - Moc
cmSystemTools::ExpandListArgument(makefile->GetSafeDefinition("AM_SKIP_MOC"),
this->SkipMoc);
- this->MocCompileDefinitionsStr =
+ this->MocInfoCompileDefinitions =
GetConfigDefinition(makefile, "AM_MOC_COMPILE_DEFINITIONS", config);
- this->MocIncludesStr =
+ this->MocInfoIncludes =
GetConfigDefinition(makefile, "AM_MOC_INCLUDES", config);
- this->MocOptionsStr = makefile->GetSafeDefinition("AM_MOC_OPTIONS");
+ this->MocInfoOptions = makefile->GetSafeDefinition("AM_MOC_OPTIONS");
// - Uic
cmSystemTools::ExpandListArgument(makefile->GetSafeDefinition("AM_SKIP_UIC"),
@@ -433,11 +433,11 @@ void cmQtAutoGenerators::SettingsFileRead(cmMakefile* makefile,
// Compose current settings strings
if (this->MocEnabled()) {
std::string& str = this->SettingsStringMoc;
- str += this->MocCompileDefinitionsStr;
+ str += this->MocInfoCompileDefinitions;
str += " ~~~ ";
- str += this->MocIncludesStr;
+ str += this->MocInfoIncludes;
str += " ~~~ ";
- str += this->MocOptionsStr;
+ str += this->MocInfoOptions;
str += " ~~~ ";
str += this->IncludeProjectDirsBefore ? "TRUE" : "FALSE";
str += " ~~~ ";
@@ -532,16 +532,16 @@ void cmQtAutoGenerators::Init()
this->ProjectBinaryDir);
std::vector<std::string> cdefList;
- cmSystemTools::ExpandListArgument(this->MocCompileDefinitionsStr, cdefList);
+ cmSystemTools::ExpandListArgument(this->MocInfoCompileDefinitions, cdefList);
for (std::vector<std::string>::const_iterator it = cdefList.begin();
it != cdefList.end(); ++it) {
this->MocDefinitions.push_back("-D" + (*it));
}
- cmSystemTools::ExpandListArgument(this->MocOptionsStr, this->MocOptions);
+ cmSystemTools::ExpandListArgument(this->MocInfoOptions, this->MocOptions);
std::vector<std::string> incPaths;
- cmSystemTools::ExpandListArgument(this->MocIncludesStr, incPaths);
+ cmSystemTools::ExpandListArgument(this->MocInfoIncludes, incPaths);
std::set<std::string> frameworkPaths;
for (std::vector<std::string>::const_iterator it = incPaths.begin();
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
index 78d0314..b9c372e 100644
--- a/Source/cmQtAutoGenerators.h
+++ b/Source/cmQtAutoGenerators.h
@@ -143,9 +143,9 @@ private:
std::string SettingsStringRcc;
// - Moc
std::vector<std::string> SkipMoc;
- std::string MocCompileDefinitionsStr;
- std::string MocIncludesStr;
- std::string MocOptionsStr;
+ std::string MocInfoCompileDefinitions;
+ std::string MocInfoIncludes;
+ std::string MocInfoOptions;
std::string OutMocCppFilenameRel;
std::string OutMocCppFilenameAbs;
std::list<std::string> MocIncludes;