summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-04 21:06:51 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-05 12:27:42 (GMT)
commit5cf1120fbf11fcc6bb5f5f15b0e2c8472bafc261 (patch)
tree79b0455e3ee6d664b652ab33a00a9664045bf471 /Source/cmGlobalGenerator.h
parent47694c40e34bb7ee3e4edbeeeb264189f5e4d4d0 (diff)
downloadCMake-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.h3
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>
{