anchor.diff:  :buildsolution
   REM Old method using handmade sln file
   
  +REM VS120 is Visual Studio 2013
  +SET LaunchVCVars="%VS120COMNTOOLS%..\..\VC\vcvarsall.bat"
  +
  +IF NOT EXIST %LaunchVCVars% (
  +  ECHO Visual Studio not found!
  +  EXIT /B 1
  +)
  +
  +IF "%PLATFORM%" EQU "Win32" (
  +    SET VCVARARG=x86
  +) ELSE (
  +    SET VCVARARG=AMD64
  +)
  +
  +@CALL %LaunchVCVars% %VCVARARG%
  +IF DEFINED _ECHO ECHO ON
  +
   ECHO Adding winclientlib tools to path
  -REM This is based on knowledge of where happens to be installed on the build machine
  -REM see winclientlib git project for details
   SET PATH=%winclientlib%\tools;%PATH%
  -SET SOLUTION=Mordor.sln
  +SET SOLUTION=%PROJECT%.sln
   
   MSBuild /maxcpucount -P:configuration=%CONFIG% -P:platform=%PLATFORM% %SOLUTION% /t:%MSBUILD_TARGET%
   IF ERRORLEVEL 1 EXIT /B
  
positive.code: REM Cmake is installed to winclientlib
  SET CMAKE_FULLPATH=%winclientlib%\tools\cmake-3.7.1-win64-x64\bin\cmake
  
  ECHO %MSBUILD_TARGET%ing Mordor %PLATFORM% %CONFIG%
  
  @CALL %LaunchVCVars% x86
  IF DEFINED _ECHO ECHO ON
  
  IF "%PLATFORM%" EQU "Win32" (
      SET VCVARARG=x86
      SET GENERATOR="Visual Studio 12 2013"
  ) ELSE (
      SET VCVARARG=AMD64
      SET GENERATOR="Visual Studio 12 2013 Win64"
  )
  
  IF "%CLEAN%" EQU "1" (
      REM For cmake case all the generated output is centralized outside of the
  
negative.code: IF DEFINED _ECHO ECHO ON
  SETLOCAL
  
  REM Script to compile Debug or Release for either 32 or 64 bit
  REM This also supports performing a cmake generation for developers who want to do compilation
  REM themselves from the generated project files.
  REM This script can be invoked directly from command line or from Visual Studio via
  REM PROJECTNAME_cmake.vcxproj.
  REM
  REM usage examples:
  REM    build32Or64.bat Debug x64 cmakegen
  REM or
  REM    build32Or64.bat Release Win32 rebuild
  
  REM By default it build mordor, but higher level clients can use it if they specify
  REM /project and /root arguments.
  
  SET CONFIG=Release
  SET USE_CMAKE=0
  