summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-01 14:26:54 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-01 14:26:54 (GMT)
commitc8ddb6813b5888fa638ed312fca6473028c61aa4 (patch)
tree591d4fbbe946089a522d0b7a43be6698f478effa /Source/cmGlobalGenerator.h
parente8cdd54f74851f0cc6f1fa544f48304e415ad91d (diff)
downloadCMake-c8ddb6813b5888fa638ed312fca6473028c61aa4.zip
CMake-c8ddb6813b5888fa638ed312fca6473028c61aa4.tar.gz
CMake-c8ddb6813b5888fa638ed312fca6473028c61aa4.tar.bz2
Cleanup cmGlobalGenerator::GetTargetSets method
This commit cleans up the declaration, definition, and invocations of the GetTargetSets method and related code. There is no change in function except to make the method virtual.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index afb639c..5a01bd2 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -259,15 +259,13 @@ public:
virtual void CreateGUID(const char*) {}
protected:
+ typedef std::vector<cmLocalGenerator*> GeneratorVector;
// for a project collect all its targets by following depend
// information, and also collect all the targets
- void GetTargetSets(cmGlobalGenerator::TargetDependSet& projectTargets,
- cmGlobalGenerator::TargetDependSet& originalTargets,
- cmLocalGenerator* root,
- std::vector<cmLocalGenerator*> const& generators);
- void AddTargetDepends(cmTarget* target,
- cmGlobalGenerator::TargetDependSet&
- projectTargets);
+ virtual void GetTargetSets(TargetDependSet& projectTargets,
+ TargetDependSet& originalTargets,
+ cmLocalGenerator* root, GeneratorVector const&);
+ void AddTargetDepends(cmTarget* target, TargetDependSet& projectTargets);
void SetLanguageEnabledFlag(const char* l, cmMakefile* mf);
void SetLanguageEnabledMaps(const char* l, cmMakefile* mf);
void FillExtensionToLanguageMap(const char* l, cmMakefile* mf);