Merge topic 'clear-evaluation-files'

2e388cc file(GENERATE): Clear internal records between configures
This commit is contained in:
Brad King 2013-11-05 07:26:46 -05:00 committed by CMake Topic Stage
commit 47694c40e3
1 changed files with 8 additions and 0 deletions

View File

@ -979,6 +979,14 @@ void cmGlobalGenerator::Configure()
delete this->LocalGenerators[i];
}
this->LocalGenerators.clear();
for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator
li = this->EvaluationFiles.begin();
li != this->EvaluationFiles.end();
++li)
{
delete *li;
}
this->EvaluationFiles.clear();
this->TargetDependencies.clear();
this->TotalTargets.clear();
this->ImportedTargets.clear();