cmExportSet: Store a cmGeneratorTarget.

Set the member at compute time from the stored name.
This commit is contained in:
Stephen Kelly
2015-10-17 13:31:33 +02:00
parent 65911cae4d
commit 381e7afd36
8 changed files with 41 additions and 27 deletions
+5 -1
View File
@@ -27,6 +27,10 @@ cmExportBuildFileGenerator::cmExportBuildFileGenerator()
void cmExportBuildFileGenerator::Compute(cmLocalGenerator* lg)
{
this->LG = lg;
if (this->ExportSet)
{
this->ExportSet->Compute(lg);
}
}
//----------------------------------------------------------------------------
@@ -274,7 +278,7 @@ void cmExportBuildFileGenerator
tei = this->ExportSet->GetTargetExports()->begin();
tei != this->ExportSet->GetTargetExports()->end(); ++tei)
{
targets.push_back((*tei)->GetName());
targets.push_back((*tei)->TargetName);
}
return;
}