anchor.diff:  )
   
   :: Builds LZ4
  -cd ..\..
  +cd %BASEDIR%3rdparty
   echo Compiling LZ4 library ...
   rd /s /q  lz4 >nul 2>&1
   del /f /q lz4 >nul 2>&1
  
positive.code:     exit /b
    )
  ) else (
    cd lz4\lib
    qmake -o makefile.liblz4
    %MAKE% -f makefile.liblz4 clean
    %MAKE% -f makefile.liblz4
    cd ..\..
  )
  cd ..
  
  cd src
  if exist Makefile ( %MAKE% -k distclean >nul 2>&1 )
  qmake %OPT% target.path='%TFDIR%/bin' header.path='%TFDIR%/include' %USE_GUI%
  cd ..
  cd tools
  if exist Makefile ( %MAKE% -k distclean >nul 2>&1 )
  qmake -recursive %OPT% target.path='%TFDIR%/bin' header.path='%TFDIR%/include' datadir='%TFDIR%'
  %MAKE% qmake
  cd ..
  
  echo;
  echo First, run "%MAKE% install" in src directory.
  
negative.code: if not "%MSCOMPILER%" == "" (
    for /F %%i in ('qtpaths.exe --install-prefix') do echo %%i | find "msvc2015" >NUL
    if not ERRORLEVEL 1 (
      devenv lz4\visual\VS2015\lz4.sln /project liblz4 /rebuild "Release|%BUILDTARGET%" >nul 2>&1
    ) else (
      devenv lz4\visual\VS2017\lz4.sln /project liblz4 /rebuild "Release|%BUILDTARGET%" >nul 2>&1
    )
    if ERRORLEVEL 1 (
      echo Build failed.
  