Skip to content

PCH: Generate sources during Compute step

Cristian Adam requested to merge cristianadam/cmake:pch-generate into master

Similar to !3884 (merged). Unlike !3883 (closed) the original order of operations (unity/pch). First reduce the files with unity, then apply the pch flags if exists. Unity build skips the sources which have COMPILE_OPTIONS properties set.

Issue: #19789 (closed)

Edited by Brad King

Merge request reports