Performance: Improve efficiency of target iteration and lookup in cmLocalGenerator

Add an unordered map to cmLocalGenerator for fast name-based target lookups. Existing uses of the vector of targets have been improved to receive the list of targets by const reference instead of copying by value.

Topic-rename: perf-targetIterAndLookup-cmLocalGenerator

Edited by Craig Scott

Merge request reports

Loading