(target_list, target_dicts, data, params)
Generate an XML settings file that can be imported into a CDT project.
Generate an XML settings file that can be imported into a CDT project.
Generate an XML settings file that can be imported into a CDT project .
def GenerateOutput(target_list, target_dicts, data, params):
  """Generate an XML settings file that can be imported into a CDT project."""

  if params['options'].generator_output:
    raise NotImplementedError("--generator_output not implemented for eclipse")

  user_config = params.get('generator_flags', {}).get('config', None)
  if user_config:
    GenerateOutputForConfig(target_list, target_dicts, data, params,
                            user_config)
  else:
    config_names = target_dicts[target_list[0]]['configurations'].keys()
    for config_name in config_names:
      GenerateOutputForConfig(target_list, target_dicts, data, params,
                              config_name)
def GenerateOutput ( target_list , target_dicts , data , params ) : if params [ 'options' ] . generator_output : raise NotImplementedError ( "--generator_output not implemented for eclipse" ) user_config = params . get ( 'generator_flags' , { } ) . get ( 'config' , None ) if user_config : GenerateOutputForConfig ( target_list , target_dicts , data , params , user_config ) else : config_names = target_dicts [ target_list [ 0 ] ] [ 'configurations' ] . keys ( ) for config_name in config_names : GenerateOutputForConfig ( target_list , target_dicts , data , params , config_name )