mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
cmLocalGenerator: Remove cmGeneratorTargetsType from setter API.
This commit is contained in:
1 parent
04b6bb1676
commit
a4bbdc5ecf
2 files changed
+1
-7
No files matched your search
@@ -1574,7 +1574,6 @@ void cmGlobalGenerator::FinalizeTargetCompileInfo()
|
||||
void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes,
|
||||
cmLocalGenerator *lg)
|
||||
{
|
||||
cmGeneratorTargetsType generatorTargets;
|
||||
cmMakefile* mf = lg->GetMakefile();
|
||||
if (targetTypes == AllTargets)
|
||||
{
|
||||
@@ -1585,7 +1584,7 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes,
|
||||
cmTarget* t = &ti->second;
|
||||
cmGeneratorTarget* gt = new cmGeneratorTarget(t, lg);
|
||||
this->GeneratorTargets[t] = gt;
|
||||
generatorTargets[t] = gt;
|
||||
lg->AddGeneratorTarget(t, gt);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1596,7 +1595,6 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes,
|
||||
cmGeneratorTarget* gt = new cmGeneratorTarget(*j, lg);
|
||||
this->GeneratorTargets[*j] = gt;
|
||||
}
|
||||
lg->SetGeneratorTargets(generatorTargets);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -118,10 +118,6 @@ public:
|
||||
return this->GeneratorTargets;
|
||||
}
|
||||
|
||||
void SetGeneratorTargets(const cmGeneratorTargetsType &targets)
|
||||
{
|
||||
this->GeneratorTargets = targets;
|
||||
}
|
||||
void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt);
|
||||
|
||||
cmGeneratorTarget* FindGeneratorTargetToUse(const std::string& name) const;
|
||||
|
||||
Reference in new issue
Block a user