anchor.diff:  )
   
   :: If we use VS2008, framework path (for msbuild) may not be correctly set. Manually attempt to add in that case
  -IF %GENERATOR%==%GENERATOR_VS2008% set PATH=C:\Windows\Microsoft.NET\Framework\v3.5;%PATH%
  +IF %VS_VER%==vs2008 set PATH=C:\Windows\Microsoft.NET\Framework\v3.5;%PATH%
   
   :: Print user-defined variables
   cecho {F0}This script fetches and builds all Tundra dependencies{# #}{\n}
  
positive.code:    :: We need to patch pp-iterator.h in order to make it compile with newer Visual Studio versions:
     :: http://stackoverflow.com/questions/2791525/stl-operator-behavior-change-with-visual-studio-2010
     :: Also cannot use QMake as it results in linker errors, so instead generate vcproj files and build using MSBuild.
     IF NOT %GENERATOR%==%GENERATOR_VS2008% (
        copy /Y "%TOOLS%\Mods\QtScriptGenerator_pp-iterator.h" "%DEPS%\qtscriptgenerator\generator\parser\rpp\pp-iterator.h"
        qmake -tp vc
        cecho {0D}Building qtscript plugins. Please be patient, this will take a while.{# #}{\n}
  
negative.code:    :: It's nicer to use a tailored file rathern than copy duplicates under the zziblib source tree.
     cecho {0D}Building zziplib from premade project %TOOLS%\Mods\vs2008-zziplib.vcproj{# #}{\n}
     copy /Y "%TOOLS%\Mods\vs2008-zziplib.vcproj" zziplib.vcproj
     IF NOT %VS_VER%==vs2008 VCUpgrade /nologo zziplib.vcproj
     MSBuild zziplib.%VCPROJ_FILE_EXT% /p:configuration=Release /p:platform="%VS_PLATFORM%" /nologo /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS%
     MSBuild zziplib.%VCPROJ_FILE_EXT% /p:configuration=Debug /p:platform="%VS_PLATFORM%" /nologo /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS%
     
  