parameters: (project, options, version, generator_flags, spec)
docstring: Generates a vcproj file.
  
    Arguments:
      project: the MSVSProject object.
      options: global generator options.
      version: the MSVSVersion object.
      generator_flags: dict of generator-specific flags.
    Returns:
      A list of source files that cannot be found on disk.
docstring_summary: Generates a vcproj file.
docstring_tokens: Generates a vcproj file .
function: def _GenerateProject(project, options, version, generator_flags, spec):
      """Generates a vcproj file.
  
    Arguments:
      project: the MSVSProject object.
      options: global generator options.
      version: the MSVSVersion object.
      generator_flags: dict of generator-specific flags.
    Returns:
      A list of source files that cannot be found on disk.
    """
      default_config = _GetDefaultConfiguration(project.spec)
  
      # Skip emitting anything if told to with msvs_existing_vcproj option.
      if default_config.get("msvs_existing_vcproj"):
          return []
  
      if version.UsesVcxproj():
          return _GenerateMSBuildProject(project, options, version, generator_flags, spec)
      else:
          return _GenerateMSVSProject(project, options, version, generator_flags)
function_tokens: def _GenerateProject ( project , options , version , generator_flags , spec ) : default_config = _GetDefaultConfiguration ( project . spec ) # Skip emitting anything if told to with msvs_existing_vcproj option. if default_config . get ( "msvs_existing_vcproj" ) : return [ ] if version . UsesVcxproj ( ) : return _GenerateMSBuildProject ( project , options , version , generator_flags , spec ) else : return _GenerateMSVSProject ( project , options , version , generator_flags )