anchor.diff:      pushd build32
       echo Generating 32-bit CMake files for Visual Studio %VS_VERSION%
       cmake -G "Visual Studio %VS_VERSION%" ..
  -    echo Building 32-bit Debug 
  -    msbuild ALL_BUILD.vcxproj /p:Platform=x86 /p:Configuration=Debug /maxcpucount /verbosity:quiet
  -    if errorlevel 1 (
  -       echo.
  -       echo 32-bit Debug build failed!
  -       popd
  -       exit /b 1
  -    )   
  -       
  -    echo Building 32-bit Release 
  -    msbuild ALL_BUILD.vcxproj /p:Platform=x86 /p:Configuration=Release /maxcpucount /verbosity:quiet
  -    if errorlevel 1 (
  -       echo.
  -       echo 32-bit Release build failed!
  -       popd
  -       exit /b 1
  -    )   
  +    if %do_debug%==1 (
  +        echo Building 32-bit Debug 
  +        msbuild ALL_BUILD.vcxproj /p:Platform=x86 /p:Configuration=Debug /maxcpucount /verbosity:quiet
  +        if errorlevel 1 (
  +        echo.
  +        echo 32-bit Debug build failed!
  +        popd
  +        exit /b 1
  +        )
  +    )
  +
  +    if %do_release%==1 (
  +        echo Building 32-bit Release 
  +        msbuild ALL_BUILD.vcxproj /p:Platform=x86 /p:Configuration=Release /maxcpucount /verbosity:quiet
  +        if errorlevel 1 (
  +        echo.
  +        echo 32-bit Release build failed!
  +        popd
  +        exit /b 1
  +        )
  +    )
       popd
   )
   exit /b 0
  
positive.code: REM     cmake (case insensitive): Deletes build and build32 and runs just CMake on both
  REM     32: Deletes build32, runs CMake and builds 32-bit versions
  REM     64: Deletes build, runs CMake and builds 64-bit versions
  REM Example:
  REM build_windows_targets.bat 64
  REM deletes build, creates build, runs CMake and compiles 64-bit Debug and Release.
  
  set do_cmake=0
  set do_32=1
  set do_64=1
  if "%1"=="" goto no_args
  set do_cmake=0
  set do_32=0
  set do_64=0
  for %%a in (%*) do (
      echo.%%a | %WINDIR%\system32\find.exe /I "cmake">Nul && (set do_cmake=1)
      echo.%%a | %WINDIR%\system32\find.exe "32">Nul && (set do_32=1)
      echo.%%a | %WINDIR%\system32\find.exe "64">Nul && (set do_64=1)
  )
  :no_args
  if %do_cmake%==0 (
      if %do_32%==0 (
          if %do_64%==0 (
              echo No valid parameters specified.
              exit /b 1
          )
      )
  )
  
  REM Determine the appropriate CMake strings for the current version of Visual Studio
  
negative.code:     pushd build
      echo Generating 64-bit CMake files for Visual Studio %VS_VERSION%
      cmake -G "Visual Studio %VS_VERSION% Win64" ..
      if %do_debug% equ 1 (
          echo Building 64-bit Debug 
          msbuild ALL_BUILD.vcxproj /p:Platform=x64 /p:Configuration=Debug /maxcpucount /verbosity:quiet
          if errorlevel 1 (
          echo.
          echo 64-bit Debug build failed!
          popd
          exit /b 1
          )
      )
     
      if %do_release%==1 (
          echo Building 64-bit Release 
          msbuild ALL_BUILD.vcxproj /p:Platform=x64 /p:Configuration=Release /maxcpucount /verbosity:quiet
          if errorlevel 1 (
          echo.
          echo 64-bit Release build failed!
          popd
          exit /b 1
          )
      )
      popd
  )
   
  