diff options
author | Brad King <brad.king@kitware.com> | 2009-10-01 14:26:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-01 14:26:54 (GMT) |
commit | c8ddb6813b5888fa638ed312fca6473028c61aa4 (patch) | |
tree | 591d4fbbe946089a522d0b7a43be6698f478effa /Source/cmGlobalGenerator.h | |
parent | e8cdd54f74851f0cc6f1fa544f48304e415ad91d (diff) | |
download | CMake-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.h | 12 |
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); |