def SetFilesProperty(output, variable, property_name, values, sep):
 output.write('set_source_files_properties(')
 WriteVariable(output, variable)
 output.write(' PROPERTIES ')
 output.write(property_name)
 output.write(' "')
 for value in values:
  output.write(CMakeStringEscape(value))
  output.write(sep)
 output.write('")\n')

def SetFilesProperty ( output , variable , property_name , values , sep ) : output . write ( 'set_source_files_properties(' ) WriteVariable ( output , variable ) output . write ( ' PROPERTIES ' ) output . write ( property_name ) output . write ( ' "' ) for value in values : output . write ( CMakeStringEscape ( value ) ) output . write ( sep ) output . write ( '")\n' )
given a set of source files .