anchor.diff:  
   rem x64
   set platform=x86
  +rem set platform="x64"
   set buildtype=Release
   
   set PATH=%PATH%;C:\cmake\bin
  
positive.code: mkdir %cwd%\.build\include
  mkdir %cwd%\.build\lib
  
  
  call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
  
  if %platform%==x86 set vcplatform=Win32
  if %platform%==x64 set vcplatform=x64
  
  set INCLUDE=%cwd%\.build\include;%INCLUDE%
  set LIB=%cwd%\.build\lib;%LIB%
  
  call :DependLibraries
  rem call :LeptonicaBuild
  
  
  rd /s /q %cwd%\.build\recognizer
  mkdir %cwd%\.build\recognizer
  
  cmake %cwd% -B%cwd%\.build\recognizer -G "Visual Studio 14" -DADD_INCLUDE_DIR=%cwd%\.build\tesseract-master\ccutil ^
                                                              -DLeptonica_BUILD_DIR=%cwd%\.build\leptonica-master\build ^
                                                              -DTesseract_BUILD_DIR=%cwd%\.build\tesseract-master\build ^
                                                              -DMongoose_DIR=%cwd%\.build\mongoose-master ^
                                                              -DCryptoAlgorithms_DIR=%cwd%\.build\crypto-algorithms-master ^
                                                              -DJson_DIR=%cwd%\.build\json-master\src ^
                                                              -DSQLite_DIR=%cwd%\.build\sqlite-master ^
                                                              -DSTATIC=1
                                                              -DCMAKE_BUILD_TYPE=%buildtype%
  msbuild %cwd%\.build\recognizer\recognizer.sln /p:Platform=%vcplatform% /p:ReleaseBuild=true /p:Configuration=%buildtype%
  
  mkdir %cwd%\.build\recognizer\bin\%buildtype%\tessdata
  
negative.code: 
  :LeptonicaBuild
  call :JpegLibrary
  cmake -H%cwd%\.build\leptonica-master -B%cwd%\.build\leptonica-master\build -G %generator% ^
        -DSTATIC=1 ^
        -DCMAKE_PREFIX_PATH=%cwd%\.build ^
        -DCMAKE_INCLUDE_PATH=%cwd%\.build\include ^
  