anchor.diff:  IF "%cli_build%"=="true" (
       call :build_proton %cli_compiler% %cli_arch% %INSTALL_ROOT% "%keep_build%" "%keep_install%"
   ) ELSE (
  -    call :build_proton 2008 x86  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2010 x86  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2012 x86  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2013 x86  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2015 x86  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
  -    call :build_proton 2008 x64  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
  +    call :build_proton 2017 x86  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2010 x64  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2012 x64  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2013 x64  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
       call :build_proton 2015 x64  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
  +    call :build_proton 2017 x64  %INSTALL_ROOT% "%keep_build%" "%keep_install%"
   )
   goto :eof
   
   ::
   :: build a proton
   ::  %1 selects architecture x86 or x64
  -::  %2 selects studio 2008 or 2010 or 2012 or 2013
  +::  %2 selects studio  2010 or 2012 or 2013 or 2015 or 2017
   ::  %3 is fully qualified install root path with no trailing slash
   ::  %4 true|false to keep build directory
   ::  %5 true|false to keep install directory
  
positive.code: 
  :: Check that CD is a proton checkout
  IF NOT exist .\proton-c (echo This script must execute from a proton checkout root && pause && goto :eof)
  IF NOT exist .\proton-j (echo This script must execute from a proton checkout root && pause && goto :eof)
  
  :: Check that the INSTALL_ROOT_PATH is specified
  IF "%1"=="" (echo You must specify an INSTALL_ROOT_PATH && GOTO :Usage)
  
negative.code:         call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64
          if ERRORLEVEL 1 exit /b 1
          set cmakegen="Visual Studio 14 2015 Win64"
          set proton_arch=x64
      )
  )
  if "%vsname%"=="2017" (
      if "%arch%" == "x86" (
          call "%VS150COMNTOOLS%..\..\VC\Auxiliary\build\vcvarsall.bat" x86
          if ERRORLEVEL 1 exit /b 1
          set cmakegen="Visual Studio 15 2017"
          set proton_arch=Win32
      ) else (
          call "%VS150COMNTOOLS%..\..\VC\Auxiliary\build\vcvarsall.bat" amd64
          if ERRORLEVEL 1 exit /b 1
          set cmakegen="Visual Studio 15 2017 Win64"
          set proton_arch=x64
      )
  )
  