def _GetDefines(config):
 defines = []
 for d in config.get('defines', []):
  if (type(d) == list):
   fd = '='.join([str(dpart) for dpart in d])
  else:
   fd = str(d)
  defines.append(fd)
 return defines

def _GetDefines ( config ) : defines = [ ] for d in config . get ( 'defines' , [ ] ) : if ( type ( d ) == list ) : fd = '=' . join ( [ str ( dpart ) for dpart in d ] ) else : fd = str ( d ) defines . append ( fd ) return defines
returns the list of preprocessor definitions for this configuation .