anchor.diff:  
   cecho {0D}Building ogre-safe-nocrashes. Please be patient, this will take a while.{# #}{\n}
   msbuild OGRE.sln /p:configuration=Debug /clp:ErrorsOnly /nologo
  -::msbuild OGRE.sln /p:configuration=MinSizeRel /clp:ErrorsOnly /nologo
  -::msbuild OGRE.sln /p:configuration=Release /clp:ErrorsOnly /nologo
   msbuild OGRE.sln /p:configuration=RelWithDebInfo /clp:ErrorsOnly /nologo
  +IF %BUILD_RELEASE%==TRUE msbuild OGRE.sln /p:configuration=Release /clp:ErrorsOnly /nologo
   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
   
   cecho {0D}Deploying ogre-safe-nocrashes SDK directory.{# #}{\n}
   msbuild INSTALL.vcproj /p:configuration=Debug /clp:ErrorsOnly /nologo
  -::msbuild INSTALL.vcproj /p:configuration=MinSizeRel /clp:ErrorsOnly /nologo
  -::msbuild INSTALL.vcproj /p:configuration=Release /clp:ErrorsOnly /nologo
  -msbuild INSTALL.vcproj /p:configuration=RelWithDebInfo /clp:ErrorsOnly /nologo
  +IF %BUILD_RELEASE%==FALSE (msbuild INSTALL.vcproj /p:configuration=RelWithDebInfo /clp:ErrorsOnly /nologo) ELSE (msbuild INSTALL.vcproj /p:configuration=Release /clp:ErrorsOnly /nologo)
   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
   
   cecho {0D}Deploying Ogre DLLs to Tundra bin\ directory.{# #}{\n}
   copy /Y "%DEPS%\ogre-safe-nocrashes\bin\debug\*.dll" "%TUNDRA_BIN%"
   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
  -copy /Y "%DEPS%\ogre-safe-nocrashes\bin\relwithdebinfo\*.dll" "%TUNDRA_BIN%"
  +IF %BUILD_RELEASE%==FALSE (copy /Y "%DEPS%\ogre-safe-nocrashes\bin\relwithdebinfo\*.dll" "%TUNDRA_BIN%") ELSE (copy /Y "%DEPS%\ogre-safe-nocrashes\bin\release\*.dll" "%TUNDRA_BIN%")
   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
   copy /Y "%DEPS%\ogre-safe-nocrashes\Dependencies\bin\Release\cg.dll" "%TUNDRA_BIN%"
   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
  
positive.code:    ) 
  )
  
  :: Print scripts usage information
  cecho {0A}This script fetches and builds all Tundra dependencies.{# #}{\n}
  echo Requirements:
  echo 1. Install SVN and make sure 'svn' is accessible from PATH.
  echo  - http://tortoisesvn.net/downloads.html, install with command line tools!
  echo 2. Install Hg and make sure 'hg' is accessible from PATH.
  echo  - http://tortoisehg.bitbucket.org/
  echo 3. Install git and make sure 'git' is accessible from PATH.
  echo  - http://code.google.com/p/tortoisegit/
  echo 4. Install DirectX SDK June 2010.
  echo  - http://www.microsoft.com/download/en/details.aspx?id=6812
  echo 5. Install cmake and make sure 'cmake' is accessible from PATH.
  echo  - http://www.cmake.org/
  echo 6. Install Visual Studio 2008 with SP1. (Express is ok)
  echo  - http://www.microsoft.com/download/en/details.aspx?id=14597
  echo 7. Install Windows SDK.
  echo  - http://www.microsoft.com/download/en/details.aspx?id=8279
  
  IF %BUILD_OPENSSL%==TRUE (
     echo 8. To build OpenSSL install Active Perl and set perl.exe to PATH.
     echo  - http://www.activestate.com/activeperl/downloads
     cecho {0E}   NOTE: Perl needs to be before git in PATH, otherwise the git{# #}{\n}
     cecho {0E}   provided perl.exe will be used and OpenSSL build will fail.{# #}{\n}
     echo 9. Execute this file from Visual Studio 2008/2010 Command Prompt.
  ) ELSE (
     echo 8. Execute this file from Visual Studio 2008/2010 Command Prompt.
  )
  echo.
  
  
negative.code: cd %TOOLS%
  
  :: Print user defined variables
  cecho {F0}This script fetches and builds all Tundra dependencies{# #}{\n}
  echo.
  cecho {0A}Script configuration:{# #}{\n}
  cecho {0D}  CMake Generator    = %GENERATOR%{# #}{\n}
  echo    - Passed to CMake -G option
  cecho {0D}  Build Release = %BUILD_RELEASE%{# #}{\n}
  echo    - Build Release mode in addition to RelWithDebInfo when possible.
  echo      Default is disabled, enable if you are planning to deploy
  echo      Tundra in Release mode.
  cecho {0D}  Build OpenSSL      = %BUILD_OPENSSL%{# #}{\n}
  echo    - Build OpenSSL, requires Active Perl.
  cecho {0D}  Build Qt with JOM  = %USE_JOM%{# #}{\n}
  echo    - Use jom.exe instead of nmake.exe to build qmake projects.
  echo      Default enabled as jom is significantly faster by usin all CPUs.
  echo.
  
  :: Validate user defined variables
  