Skip to content

cmGeneratorTarget: Refactor usage requirement genex evaluation

Brad King requested to merge brad.king/cmake:refactor-usage-requirements into master

Evaluate usage requirement generator expressions fully before entering the processing loops. This allows us to evaluate and collect all entries up front and then have only one call to the loop over them. This also allows AddInterfaceEntries to immediately evaluate the generator expressions it synthesizes, which will enable later optimization.

Also perform a few minor cleanups.

Merge request reports