anchor.diff:  :: build_proton.bat
   :: Version 1.5 2015-07-09
   :: Version 1.6 2016-03-08 Add VS2015
  -::
  -:: Usage: build_proton.bat INSTALL_ROOT_PATH [2008|2010|2012|2013|2015 x64|x86 [any         [any]]]
  +:: Version 1.7 2017-10-25 Add VS2017, Remove VS2008
  +::
  +:: Usage: build_proton.bat INSTALL_ROOT_PATH [2010|2012|2013|2015|2017 x64|x86 [any         [any]]]
   ::                         %1                 %2                       %3       %4           %5
   ::                                                                              keep build  keep install
   :: A script to cmake/make/install proton on windows.
  
positive.code:         call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64
          if ERRORLEVEL 1 exit /b 1
          set cmakegen="Visual Studio 14 2015 Win64"
          set proton_arch=x64
      )
  )
  
negative.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. If this is a distribution kit then proton-j is absent. Just 'mkdir proton-j' and build again. && pause && goto :eof)
  
  :: Check that the INSTALL_ROOT_PATH is specified
  IF "%1"=="" (echo You must specify an INSTALL_ROOT_PATH && GOTO :Usage)
  