def _GenerateProject(project, options, version, generator_flags):
 default_config = _GetDefaultConfiguration(project.spec)
 if default_config.get('msvs_existing_vcproj'):
  return []
 if version.UsesVcxproj():
  return _GenerateMSBuildProject(project, options, version, generator_flags)
 else:
  return _GenerateMSVSProject(project, options, version, generator_flags)

def _GenerateProject ( project , options , version , generator_flags ) : default_config = _GetDefaultConfiguration ( project . spec ) if default_config . get ( 'msvs_existing_vcproj' ) : return [ ] if version . UsesVcxproj ( ) : return _GenerateMSBuildProject ( project , options , version , generator_flags ) else : return _GenerateMSVSProject ( project , options , version , generator_flags )
generates a vcproj file .