Skip to content

Add cmAppend to cmAlgorithms.h and use it

Sebastian Holtermann requested to merge sebholt/cmake:cmAppend into master

This adds the cmAppend function to cmAlgorithms.h. It simplifies appending ranges to std::vector instances.

The new function is used in many sources to replace vec.insert(vec.end(),...) statements, which leads to shorter and simpler code.

Edited by Ben Boeckel

Merge request reports