anchor.diff:  
     echo building leveldb.
     pushd thirdparty\src\leveldb
  -  cmake . -B%build_dir% %thirdparty_common_cmake_flags%^
  +  cmake . -B%build_dir% %thirdparty_cmake_flags%^
     -DLEVELDB_BUILD_BENCHMARKS:BOOL=OFF^
     -DLEVELDB_BUILD_TESTS:BOOL=OFF
     if errorlevel 1 goto error
  
positive.code: 
    echo building marisa.
    pushd thirdparty\src\marisa-trie
    cmake .. -B%build_dir% %thirdparty_common_cmake_flags%
    if errorlevel 1 goto error
    cmake --build %build_dir% --config %build_config% --target INSTALL
    if errorlevel 1 goto error
  
negative.code: if %build_thirdparty% == 1 (
    echo building glog.
    pushd thirdparty\src\glog
    cmake . -Bcmake-%build_dir% %thirdparty_cmake_flags%^
    -DBUILD_SHARED_LIBS:BOOL=OFF^
    -DBUILD_TESTING:BOOL=OFF^
    -DWITH_GFLAGS:BOOL=OFF
  