Skip to content

Commit

Permalink
ext: update dependencies, add update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Dec 16, 2024
1 parent b5bdd34 commit be5ff45
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ext/_ext.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/ice")

# miniz
if(NOT TARGET miniz)
set(BUILD_NO_STDIO ON CACHE INTERNAL "" FORCE)
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/miniz")
endif()

Expand All @@ -50,7 +51,7 @@ if((SOURCEPP_USE_VPKPP OR SOURCEPP_USE_VTFPP) AND NOT TARGET MINIZIP::minizip)
set(MZ_ZSTD ON CACHE INTERNAL "" FORCE)
endif()
set(MZ_FETCH_LIBS ON CACHE INTERNAL "" FORCE)
set(MZ_FORCE_FETCH_LIBS ON CACHE INTERNAL "" FORCE)
set(MZ_FORCE_FETCH_LIBS OFF CACHE INTERNAL "")
set(MZ_PKCRYPT OFF CACHE INTERNAL "")
set(MZ_WZAES OFF CACHE INTERNAL "")
set(MZ_OPENSSL OFF CACHE INTERNAL "")
Expand Down
2 changes: 1 addition & 1 deletion ext/miniz
24 changes: 24 additions & 0 deletions ext/update.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cd bufferstream
git checkout main
git pull
cd ..

cd cryptopp
git checkout master
git pull
cd ..

cd hat-trie
git checkout master
git pull
cd ..

cd miniz
git checkout master
git pull
cd ..

cd minizip-ng
git checkout master
git pull
cd ..
25 changes: 25 additions & 0 deletions ext/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
(
cd bufferstream || exit
git checkout main
git pull
)
(
cd cryptopp || exit
git checkout master
git pull
)
(
cd hat-trie || exit
git checkout master
git pull
)
(
cd miniz || exit
git checkout master
git pull
)
(
cd minizip-ng || exit
git checkout master
git pull
)

0 comments on commit be5ff45

Please sign in to comment.