diff options
author | Brad King <brad.king@kitware.com> | 2016-02-09 15:10:23 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-02-09 15:10:23 (GMT) |
commit | a887c7f1fd97d9ebf88b294105e81acf5963fc25 (patch) | |
tree | fc3330d872999d0b48eb7b3cae915872f5f4941a /Source/cmLocalGenerator.cxx | |
parent | 7b53e8c6a52d64768774608116f6c5cc72d1e0b1 (diff) | |
parent | 9b7d5871b86036da009119e14f54d161f2d44f24 (diff) | |
download | CMake-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.cxx | 2 |
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) |