diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-25 12:22:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:26 (GMT) |
commit | 79c3a2a8f72ea175533da9f323f88c507220486e (patch) | |
tree | 624bff47e0a7b47392b422a6f4920ccd65456674 /Source/cmGlobalGenerator.h | |
parent | c389f8bb07e900d805ca3163f47b06e3dbe4303b (diff) | |
download | CMake-79c3a2a8f72ea175533da9f323f88c507220486e.zip CMake-79c3a2a8f72ea175533da9f323f88c507220486e.tar.gz CMake-79c3a2a8f72ea175533da9f323f88c507220486e.tar.bz2 |
cmGlobalGenerator: Remove map from cmTarget to cmGeneratorTarget
The configure-time and generate-time types should be completely
independent.
Add ownership of cmGeneratorTarget instances to the cmLocalGenerator.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 0057d61..bc6e17d 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -42,10 +42,6 @@ class cmInstallTargetGenerator; class cmInstallFilesGenerator; class cmExportBuildFileGenerator; -typedef std::map<cmTarget const*, - cmGeneratorTarget*, - cmTarget::StrictTargetComparison> cmGeneratorTargetsType; - /** \class cmGlobalGenerator * \brief Responsible for overseeing the generation process for the entire tree * @@ -307,14 +303,6 @@ public: TargetDependSet const& GetTargetDirectDepends( const cmGeneratorTarget* target); - /** Get per-target generator information. */ - cmGeneratorTarget* GetGeneratorTarget(cmTarget const*) const; - - void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt) - { - this->GeneratorTargets[t] = gt; - } - const std::map<std::string, std::vector<cmLocalGenerator*> >& GetProjectMap() const {return this->ProjectMap;} @@ -482,8 +470,6 @@ private: typedef std::map<cmGeneratorTarget const*, TargetDependSet> TargetDependMap; TargetDependMap TargetDependencies; - // Per-target generator information. - cmGeneratorTargetsType GeneratorTargets; friend class cmake; void CreateGeneratorTargets(TargetTypes targetTypes, cmMakefile* mf, cmLocalGenerator* lg, |