• Aaron Orenstein's avatar
    Performance: Add an index to Change cmLocalGenerator::GeneratorTargets. · af3fd6f2
    Aaron Orenstein authored
    Add an index to Change cmLocalGenerator::GeneratorTargets for faster lookup by
    name.
    
    Also changed a bunch of uses of cmLocalGenerator::GetGeneratorTargets() to take
    const references instead of copying the vector.
    
    Represent generator targets as a map (name -> target) to make name lookups more
    efficient instead of looping through the entire vector to find the desired one.
    af3fd6f2
cmLocalUnixMakefileGenerator3.cxx 73.6 KB