summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-02 11:39:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-24 07:14:12 (GMT)
commit52d5d4e9154644597630ed844a254dfb8de524dd (patch)
treeef64d20fc624fe7d7f23eaf68447a64454fa42d7 /Source/cmGlobalGenerator.cxx
parent5c058c8f12742dcb96b2e22b43208f345a865fbf (diff)
downloadCMake-52d5d4e9154644597630ed844a254dfb8de524dd.zip
CMake-52d5d4e9154644597630ed844a254dfb8de524dd.tar.gz
CMake-52d5d4e9154644597630ed844a254dfb8de524dd.tar.bz2
Rename the cmQtAutoGenerator instances to reflect coming features.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index f92fe60..386af6d 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1209,8 +1209,8 @@ bool cmGlobalGenerator::CheckTargets()
void cmGlobalGenerator::CreateQtAutoGeneratorsTargets()
{
#ifdef CMAKE_BUILD_WITH_CMAKE
- typedef std::vector<std::pair<cmQtAutoGenerators, cmTarget*> > Automocs;
- Automocs automocs;
+ typedef std::vector<std::pair<cmQtAutoGenerators, cmTarget*> > Autogens;
+ Autogens autogens;
for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
{
cmTargets& targets =
@@ -1227,16 +1227,16 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets()
{
if(target.GetPropertyAsBool("AUTOMOC") && !target.IsImported())
{
- cmQtAutoGenerators automoc;
- if(automoc.InitializeMocSourceFile(&target))
+ cmQtAutoGenerators autogen;
+ if(autogen.InitializeMocSourceFile(&target))
{
- automocs.push_back(std::make_pair(automoc, &target));
+ autogens.push_back(std::make_pair(autogen, &target));
}
}
}
}
}
- for (Automocs::iterator it = automocs.begin(); it != automocs.end();
+ for (Autogens::iterator it = autogens.begin(); it != autogens.end();
++it)
{
it->first.SetupAutoGenerateTarget(it->second);