mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:59:25 +08:00
29 lines
708 B
Batchfile
29 lines
708 B
Batchfile
@echo off
|
|
|
|
call loadenv.bat
|
|
|
|
set VCPKG_KEEP_ENV_VARS=NDK_ROOT
|
|
|
|
call :install_all_platforms cpp-httplib
|
|
call :install_all_platforms jsoncpp
|
|
call :install_all_platforms spdlog
|
|
call :install_all_platforms cxxopts
|
|
|
|
call :install cpp-httplib x64-windows-static
|
|
call :install jsoncpp x64-windows-static
|
|
call :install spdlog x64-windows-static
|
|
call :install cxxopts x64-windows-static
|
|
call :install cryptopp x64-windows-static
|
|
|
|
goto :EOF
|
|
|
|
:install_all_platforms
|
|
call :install %1 x86-android
|
|
call :install %1 x64-android
|
|
call :install %1 armeabi-v7a-android
|
|
call :install %1 arm64-v8a-android
|
|
goto :EOF
|
|
|
|
:install
|
|
vcpkg install --clean-after-build --overlay-triplets=triplets --x-install-root=.\vcpkgs %1:%2
|
|
goto :EOF |