Skip to content

Commit

Permalink
Update build.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
groverlynn committed Oct 15, 2023
1 parent c02a38a commit 5861247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if %build_deps% == 0 (

if %clean% == 1 (
rmdir /s /q build
rmdir /s /q deps\glog\cmake-build
rmdir /s /q deps\glog\build
rmdir /s /q deps\googletest\build
rmdir /s /q deps\leveldb\build
rmdir /s /q deps\marisa-trie\build
Expand Down Expand Up @@ -112,13 +112,13 @@ set deps_cmake_flags=%common_cmake_flags%^
if %build_deps% == 1 (
echo building glog.
pushd deps\glog
cmake . -Bcmake-%build_dir% %deps_cmake_flags%^
cmake . -B%build_dir% %deps_cmake_flags%^
-DBUILD_SHARED_LIBS:BOOL=OFF^
-DBUILD_TESTING:BOOL=OFF^
-DWITH_GFLAGS:BOOL=OFF^
-DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>"
if errorlevel 1 goto error
cmake --build cmake-%build_dir% --config %build_config% --target install
cmake --build %build_dir% --config %build_config% --target install
if errorlevel 1 goto error
popd

Expand Down

0 comments on commit 5861247

Please sign in to comment.