summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-09 15:10:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-02-09 15:10:23 (GMT)
commita887c7f1fd97d9ebf88b294105e81acf5963fc25 (patch)
treefc3330d872999d0b48eb7b3cae915872f5f4941a /Source/cmLocalGenerator.cxx
parent7b53e8c6a52d64768774608116f6c5cc72d1e0b1 (diff)
parent9b7d5871b86036da009119e14f54d161f2d44f24 (diff)
downloadCMake-a887c7f1fd97d9ebf88b294105e81acf5963fc25.zip
CMake-a887c7f1fd97d9ebf88b294105e81acf5963fc25.tar.gz
CMake-a887c7f1fd97d9ebf88b294105e81acf5963fc25.tar.bz2
Merge topic 'fix-target-lookup-performance-regression'
9b7d5871 Improve internal generator target structure lookup 6cbf6a51 Fix internal target lookup performance regression
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6b73987..6a6359a 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -455,11 +455,13 @@ void cmLocalGenerator::GenerateInstallRules()
void cmLocalGenerator::AddGeneratorTarget(cmGeneratorTarget* gt)
{
this->GeneratorTargets.push_back(gt);
+ this->GlobalGenerator->IndexGeneratorTarget(gt);
}
void cmLocalGenerator::AddImportedGeneratorTarget(cmGeneratorTarget* gt)
{
this->ImportedGeneratorTargets.push_back(gt);
+ this->GlobalGenerator->IndexGeneratorTarget(gt);
}
void cmLocalGenerator::AddOwnedImportedGeneratorTarget(cmGeneratorTarget* gt)