summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-05 12:26:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-05 12:26:46 (GMT)
commit47694c40e34bb7ee3e4edbeeeb264189f5e4d4d0 (patch)
tree4ae77f1e175902c306057147fdb6e8fe3e28a382 /Source
parentf6f7531353a7154e1409ea7de72e79dd45c29366 (diff)
parent2e388cc3c2c0f670b9f1f53a0fbc1217db3c72e3 (diff)
downloadCMake-47694c40e34bb7ee3e4edbeeeb264189f5e4d4d0.zip
CMake-47694c40e34bb7ee3e4edbeeeb264189f5e4d4d0.tar.gz
CMake-47694c40e34bb7ee3e4edbeeeb264189f5e4d4d0.tar.bz2
Merge topic 'clear-evaluation-files'
2e388cc file(GENERATE): Clear internal records between configures
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 4fe5033..dd7311e 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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();