diff options
author | Brad King <brad.king@kitware.com> | 2013-11-04 21:06:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-05 12:27:42 (GMT) |
commit | 5cf1120fbf11fcc6bb5f5f15b0e2c8472bafc261 (patch) | |
tree | 79b0455e3ee6d664b652ab33a00a9664045bf471 /Source/cmGlobalGenerator.h | |
parent | 47694c40e34bb7ee3e4edbeeeb264189f5e4d4d0 (diff) | |
download | CMake-5cf1120fbf11fcc6bb5f5f15b0e2c8472bafc261.zip CMake-5cf1120fbf11fcc6bb5f5f15b0e2c8472bafc261.tar.gz CMake-5cf1120fbf11fcc6bb5f5f15b0e2c8472bafc261.tar.bz2 |
cmGlobalGenerator: Refactor member cleanup between configures
Factor member cleanup out from cmGlobalGenerator::Configure and the
destructor into a dedicated helper to avoid duplication. This fixes
clearing of BuildExportSets between configures.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 4d6e10f..4529060 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -413,9 +413,10 @@ private: cmGeneratorTargetsType GeneratorTargets; void CreateGeneratorTargets(); void ComputeGeneratorTargetObjects(); - void ClearGeneratorTargets(); virtual void ComputeTargetObjects(cmGeneratorTarget* gt) const; + void ClearGeneratorMembers(); + // Cache directory content and target files to be built. struct DirectoryContent: public std::set<cmStdString> { |