-
Notifications
You must be signed in to change notification settings - Fork 4
/
vcpkg_android.bat
44 lines (34 loc) · 1.02 KB
/
vcpkg_android.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@echo off
set PROJROOT=%CD%
mkdir build
cd build || goto :error
IF EXIST vcpkg.android (
echo "vcpkg.android already exists."
cd vcpkg.android || goto :error
) ELSE (
git clone https://github.com/Microsoft/vcpkg.git vcpkg.android || goto :error
cd vcpkg.android || goto :error
)
git checkout 2024.08.23 || goto :error
call bootstrap-vcpkg.bat || goto :error
rem replace the triplets/arm64-android.cmake file with ours
copy /Y %PROJROOT%\android\custom-triplets\arm64-android.cmake %CD%\triplets\arm64-android.cmake
.\vcpkg.exe --recurse install ^
boost-exception:arm64-android ^
boost-program-options:arm64-android ^
boost-stacktrace:arm64-android ^
glm:arm64-android ^
imgui[core,freetype,android-binding,vulkan-binding,docking-experimental]:arm64-android ^
stb:arm64-android ^
tinyobjloader:arm64-android ^
tinygltf:arm64-android ^
curl:arm64-android ^
draco:arm64-android ^
fmt:arm64-android ^
cpp-base64:arm64-android || goto :error
cd ..
cd ..
exit /b
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%