anchor.diff:  rem -----------------------------------------------------------------
   
   :checkEnvVar
  -if "%GDAL_BIN_DIR%" == "" (
  -  echo Error: GDAL_BIN_DIR environment variable is not set
  -  goto :eof
  -)
  +if not "%GDAL_BIN_DIR%" == "" goto envVarSet
  +set GDAL_BIN_DIR=%PROJECT_ROOT%\external\gdal\libs\native
  +echo GDAL_BIN_DIR environment variable is not set; using default:
  +echo    %GDAL_BIN_DIR%
  +
  +:envVarSet
   if not exist "%GDAL_BIN_DIR%" (
     echo Error: GDAL_BIN_DIR environment variable refers to non-existant directory
     goto :eof
  
positive.code: @echo off
  
  setlocal
  if "%1" == "debug" goto checkEnvVar
  if "%1" == "release" goto checkEnvVar
  if "%1" == "" (
  
negative.code: set PATH_SAVE=%PATH%
  PATH %GDAL_BIN_DIR%;%PATH%
  
  set CONFIG_DIR=%PROJECT_ROOT%\build\%~1
  set EXE_PATH=%CONFIG_DIR%\LandisII.Examples.Console.exe
  "%EXE_PATH%"
  
  