diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-09-24 18:07:45 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-24 07:14:12 (GMT) |
commit | 5c058c8f12742dcb96b2e22b43208f345a865fbf (patch) | |
tree | 2b9b1bf846d1a718cbdcb26fce2a9a36dd99e170 /Source/cmGlobalGenerator.cxx | |
parent | a25c440f195e0ebc3f812c5e68f7f9a7546f249d (diff) | |
download | CMake-5c058c8f12742dcb96b2e22b43208f345a865fbf.zip CMake-5c058c8f12742dcb96b2e22b43208f345a865fbf.tar.gz CMake-5c058c8f12742dcb96b2e22b43208f345a865fbf.tar.bz2 |
Rename the cmQtAutomoc class to cmQtAutoGenerators.
It will be extended to process .ui and .qrc files too.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index fb205be..f92fe60 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -18,7 +18,7 @@ #include "cmExternalMakefileProjectGenerator.h" #include "cmake.h" #include "cmMakefile.h" -#include "cmQtAutomoc.h" +#include "cmQtAutoGenerators.h" #include "cmSourceFile.h" #include "cmVersion.h" #include "cmTargetExport.h" @@ -1049,8 +1049,8 @@ void cmGlobalGenerator::Generate() } // Iterate through all targets and set up automoc for those which have - // the AUTOMOC property set - this->CreateAutomocTargets(); + // the AUTOMOC, AUTOUIC or AUTORCC property set + this->CreateQtAutoGeneratorsTargets(); // For each existing cmLocalGenerator unsigned int i; @@ -1206,10 +1206,10 @@ bool cmGlobalGenerator::CheckTargets() } //---------------------------------------------------------------------------- -void cmGlobalGenerator::CreateAutomocTargets() +void cmGlobalGenerator::CreateQtAutoGeneratorsTargets() { #ifdef CMAKE_BUILD_WITH_CMAKE - typedef std::vector<std::pair<cmQtAutomoc, cmTarget*> > Automocs; + typedef std::vector<std::pair<cmQtAutoGenerators, cmTarget*> > Automocs; Automocs automocs; for(unsigned int i=0; i < this->LocalGenerators.size(); ++i) { @@ -1227,7 +1227,7 @@ void cmGlobalGenerator::CreateAutomocTargets() { if(target.GetPropertyAsBool("AUTOMOC") && !target.IsImported()) { - cmQtAutomoc automoc; + cmQtAutoGenerators automoc; if(automoc.InitializeMocSourceFile(&target)) { automocs.push_back(std::make_pair(automoc, &target)); @@ -1239,7 +1239,7 @@ void cmGlobalGenerator::CreateAutomocTargets() for (Automocs::iterator it = automocs.begin(); it != automocs.end(); ++it) { - it->first.SetupAutomocTarget(it->second); + it->first.SetupAutoGenerateTarget(it->second); } #endif } |