anchor.diff:  
   if %build-glslang% equ 1 (
      call:build_glslang
  -   if %errorCode% neq 0 (goto:error)
  -)
  -
  -if %build-LunarGLASS% equ 1 (
  -   call:build_LunarGLASS
      if %errorCode% neq 0 (goto:error)
   )
   
  
positive.code:       echo glslang 64-bit Release build failed!
        set errorCode=1
     )
  goto:eof
  
  :build_LunarGLASS
     echo.
     echo Building %LUNARGLASS_DIR%
     set LLVM_DIR=%LUNARGLASS_DIR%\Core\LLVM\llvm-3.4
     cd %LLVM_DIR%
  
     REM Cleanup any old directories lying around.
     if exist build32 (
        rmdir /s /q build32
     )
     if exist build (
        rmdir /s /q build
     )
     
     echo Making 32-bit LLVM
     echo *************************
     mkdir build32
     set LLVM_BUILD_DIR=%LLVM_DIR%\build32
     cd %LLVM_BUILD_DIR%
  
     echo Generating 32-bit LLVM CMake files for Visual Studio %VS_VERSION% -DCMAKE_INSTALL_PREFIX=install ..
     cmake -G "Visual Studio %VS_VERSION%" -DCMAKE_INSTALL_PREFIX=install ..
     
     echo Building 32-bit LLVM: MSBuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Release
     msbuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Release /verbosity:quiet
     REM Check for existence of one lib, even though we should check for all results
     if not exist %LLVM_BUILD_DIR%\lib\Release\LLVMCore.lib (
        echo.
        echo LLVM 32-bit Release build failed!
        set errorCode=1
        goto:eof
     )
     REM disable Debug build of LLVM until LunarGLASS cmake files are updated to
     REM handle Debug and Release builds of glslang simultaneously, instead of
     REM whatever last lands in "./build32/install"
     REM   echo Building 32-bit LLVM: MSBuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Debug
     REM   msbuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Debug /verbosity:quiet
     REM Check for existence of one lib, even though we should check for all results
     REM   if not exist %LLVM_BUILD_DIR%\lib\Debug\LLVMCore.lib (
     REM      echo.
     REM      echo LLVM 32-bit Debug build failed!
     REM      set errorCode=1
     REM      goto:eof
     REM   )
  
     cd ..
   
     echo Making 64-bit LLVM
     echo *************************
     mkdir build
     set LLVM_BUILD_DIR=%LLVM_DIR%\build
     cd %LLVM_BUILD_DIR%
  
     echo Generating 64-bit LLVM CMake files for Visual Studio %VS_VERSION% -DCMAKE_INSTALL_PREFIX=install ..
     cmake -G "Visual Studio %VS_VERSION% Win64" -DCMAKE_INSTALL_PREFIX=install ..
     
     echo Building 64-bit LLVM: MSBuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Release
     msbuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Release /verbosity:quiet
     REM Check for existence of one lib, even though we should check for all results
     if not exist %LLVM_BUILD_DIR%\lib\Release\LLVMCore.lib (
        echo.
        echo LLVM 64-bit Release build failed!
        set errorCode=1
        goto:eof
     )
     REM disable Debug build of LLVM until LunarGLASS cmake files are updated to
     REM handle Debug and Release builds of glslang simultaneously, instead of
     REM whatever last lands in "./build/install"
     REM   echo Building 64-bit LLVM: MSBuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Debug
     REM   msbuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Debug /verbosity:quiet
     REM Check for existence of one lib, even though we should check for all results
     REM   if not exist %LLVM_BUILD_DIR%\lib\Debug\LLVMCore.lib (
     REM      echo.
     REM      echo LLVM 64-bit Debug build failed!
     REM      set errorCode=1
     REM      goto:eof
     REM   )
  
     cd %LUNARGLASS_DIR%
  
     REM Cleanup any old directories lying around.
     if exist build32 (
        rmdir /s /q build32
     )
     if exist build (
        rmdir /s /q build
     )
     
     echo Making 32-bit LunarGLASS
     echo *************************
     mkdir build32
     set LUNARGLASS_BUILD_DIR=%LUNARGLASS_DIR%\build32
     cd %LUNARGLASS_BUILD_DIR%
     
     echo Generating 32-bit LunarGlass CMake files for Visual Studio %VS_VERSION% -DCMAKE_INSTALL_PREFIX=install ..
     cmake -G "Visual Studio %VS_VERSION%" -DCMAKE_INSTALL_PREFIX=install ..
     
     echo Building 32-bit LunarGlass: MSBuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Release
     msbuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Release /verbosity:quiet
     
     REM Check for existence of one lib, even though we should check for all results
     if not exist %LUNARGLASS_BUILD_DIR%\Core\Release\core.lib (
        echo.
        echo LunarGLASS 32-bit Release build failed!
        set errorCode=1
        goto:eof
     )
     
     REM disable Debug build of LunarGLASS until its cmake file can be updated to
     REM handle Debug and Release builds of glslang simultaneously, instead of
     REM whatever last lands in "./build/install"
     REM   echo Building 32-bit LunarGlass: MSBuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Debug
     REM   msbuild INSTALL.vcxproj /p:Platform=x86 /p:Configuration=Debug /verbosity:quiet
     REM Check for existence of one lib, even though we should check for all results
     REM  if not exist %LUNARGLASS_BUILD_DIR%\Core\Debug\core.lib (
     REM     echo.
     REM     echo LunarGLASS 32-bit Debug build failed!
     REM     set errorCode=1
     REM     goto:eof
     REM  )
     
     cd ..
     
     echo Making 64-bit LunarGLASS
     echo *************************
     mkdir build
     set LUNARGLASS_BUILD_DIR=%LUNARGLASS_DIR%\build
     cd %LUNARGLASS_BUILD_DIR%
     
     echo Generating 64-bit LunarGlass CMake files for Visual Studio %VS_VERSION% -DCMAKE_INSTALL_PREFIX=install ..
     cmake -G "Visual Studio %VS_VERSION% Win64" -DCMAKE_INSTALL_PREFIX=install ..
     
     echo Building 64-bit LunarGlass: MSBuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Release
     msbuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Release /verbosity:quiet
     
     REM Check for existence of one lib, even though we should check for all results
     if not exist %LUNARGLASS_BUILD_DIR%\Core\Release\core.lib (
        echo.
        echo LunarGLASS 64-bit Release build failed!
        set errorCode=1
        goto:eof
     )
     
     REM disable Debug build of LunarGLASS until its cmake file can be updated to
     REM handle Debug and Release builds of glslang simultaneously, instead of
     REM whatever last lands in "./build/install"
     REM   echo Building 64-bit LunarGlass: MSBuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Debug
     REM   msbuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Debug /verbosity:quiet
     REM Check for existence of one lib, even though we should check for all results
     REM  if not exist %LUNARGLASS_BUILD_DIR%\Core\Debug\core.lib (
     REM     echo.
     REM     echo LunarGLASS 64-bit Debug build failed!
     REM     set errorCode=1
     REM     goto:eof
     REM  )
  goto:eof
  
  :build_spirv-tools
  
negative.code: if %errorCode% neq 0 (goto:error)
  
  REM Read the target versions from external file, which is shared with Linux script
  
  if not exist glslang_revision (
     echo.
  