Revert "cmGeneratorTarget: Compute target objects on demand"

This reverts commit cfe0d459a089c4a835d21458a57cc642e7593029.
Merge topic 'target-objects-refactor' into next

12ce20f4 Revert "cmGeneratorTarget: Compute target objects on demand"