anchor.diff:  )
   
   if %build_thirdparty% == 1 (
  +  cd /d %THIRDPARTY%
  +
     echo building glog.
     cd %THIRDPARTY%\src\glog
     if not exist build mkdir build
  
positive.code: rem set DOWNLOAD="%CURL%" --remote-name-all
  
  if %build_boost% == 1 (
    cd %BOOST_ROOT%
    if not exist bjam.exe call bootstrap.bat
    if %ERRORLEVEL% NEQ 0 goto ERROR
    bjam toolset=msvc-14.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread --with-locale
  
negative.code: 
  set RIME_CMAKE_FLAGS=-DBUILD_STATIC=ON -DBUILD_SHARED_LIBS=%build_shared% -DBUILD_TEST=%build_test% -DENABLE_LOGGING=%enable_logging% -DBOOST_USE_CXX11=ON -DCMAKE_CONFIGURATION_TYPES="Release"
  
  cd /d %BUILD_DIR%
  echo cmake -G %CMAKE_GENERATOR% -T %CMAKE_TOOLSET% %RIME_CMAKE_FLAGS% %RIME_ROOT%
  call cmake -G %CMAKE_GENERATOR% -T %CMAKE_TOOLSET% %RIME_CMAKE_FLAGS% %RIME_ROOT%
  if %ERRORLEVEL% NEQ 0 goto ERROR
  