def _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name):
 attributes = _GetMSVSAttributes(spec, config, config_type)
 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 ) tool_list = _ConvertToolsToExpectedForm ( tools ) p . AddConfig ( _ConfigFullName ( config_name , config ) , attrs = attributes , tools = tool_list )
add to the project file the configuration specified by config .