-
Notifications
You must be signed in to change notification settings - Fork 1
/
build_d.bat
21 lines (17 loc) · 952 Bytes
/
build_d.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
:: ----------- default is angle default optimize flags is /O1 on windows
@echo off
chcp 65001
rem ---------- setup env
set programdir=%ProgramFiles%
call "%programdir%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
rem --- 1. angle_enable_vulkan=false
rem --- 2. dynamic crt MD (angle\build\config\win\BUILD.gn)
pushd angle
rem git pull
rem gclient sync -D
rem This tells depot_tools to use your locally installed version of Visual Studio (by default, depot_tools will try to use a google-internal version).
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
call gn gen out/debug --sln=angle-debug --ide=vs2022 "--args=is_debug=true enable_iterator_debugging=true is_clang=false target_cpu=\"x64\" treat_warnings_as_errors=false angle_enable_vulkan=false angle_enable_gl=false use_msvcr14x=false"
REM call devenv out\debug\angle-debug.sln /build "GN|Win32" /Project libEGL
call autoninja -C out\release libEGL
popd