Unity build: Generate sources during Compute step
The unity build sources need to be added for all generators. Create
them during cmGlobalGenerator::Compute
to avoid duplicating the calls
in every generator. We already handle Qt autogen there too.
Issue: #19789 (closed)