cmGeneratorTarget: Avoid function specialization
Merge topic 'target-SOURCES-refactor' into next

9c441d19 cmGeneratorTarget: Avoid function specialization