cmTarget: simplify fileset type property management

Instead of copy/pasting conditionals for each fileset type, just make an
array of the structures and iterate over them.
1 file changed