(p, spec, tools, config, config_type, config_name)
Add to the project file the configuration specified by config.

  Arguments:
    p: The target project being generated.
    spec: the target project dict.
    tools: A dictionary of settings; the tool name is the key.
    config: The dictionary that defines the special processing to be done
            for this configuration.
    config_type: The configuration type, a number as defined by Microsoft.
    config_name: The name of the configuration.
Add to the project file the configuration specified by config.
Add to the project file the configuration specified by config .
def _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name):
  """Add to the project file the configuration specified by config.

  Arguments:
    p: The target project being generated.
    spec: the target project dict.
    tools: A dictionary of settings; the tool name is the key.
    config: The dictionary that defines the special processing to be done
            for this configuration.
    config_type: The configuration type, a number as defined by Microsoft.
    config_name: The name of the configuration.
  """
  attributes = _GetMSVSAttributes(spec, config, config_type)
  # Add in this configuration.
  tool_list = _ConvertToolsToExpectedForm(tools)
  p.AddConfig(_ConfigFullName(config_name, config),
              attrs=attributes, tools=tool_list)
def _AddConfigurationToMSVS ( p , spec , tools , config , config_type , config_name ) : attributes = _GetMSVSAttributes ( spec , config , config_type ) # Add in this configuration. tool_list = _ConvertToolsToExpectedForm ( tools ) p . AddConfig ( _ConfigFullName ( config_name , config ) , attrs = attributes , tools = tool_list )