Revert "cmGeneratorTarget: Don't add computed sources to the target."

This reverts commit 352536f2cdcf7218f1ab4090ee6688700e7f4381.
Merge topic 'target-transitive-sources' into next

4e85d29d Revert "cmGeneratorTarget: Don't add computed sources to the target."