31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
angle install on windows
|
|
|
|
* need Python3 (can install through win app store)
|
|
* need Windows SDK
|
|
* clone depot_tools git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
or download and unzip bundle at https://storage.googleapis.com/chrome-infra/depot_tools.zip
|
|
* set depot_tools in path env variable through control panel>System and security>system>advanced system settings
|
|
* run gclient in a cmd shell
|
|
|
|
* set DEPOT_TOOLS_WIN_TOOLCHAIN=0
|
|
* mkdir angle
|
|
* cd angle
|
|
* fetch angle
|
|
* wait a million years
|
|
|
|
* fails when running python3 third_party/depot_tools/download_from_google_storage.py ...
|
|
-> open DEPS and change third_party/depot_tools with ../depot/tools
|
|
|
|
* run gclient sync to complete previous step
|
|
|
|
* gn gen out/Debug
|
|
* gn args out/Debug and edit arguments:
|
|
angle_enable_vulkan = false
|
|
angle_build_tests = false
|
|
is_component_build = false
|
|
|
|
* autoninja -C out/Debug
|
|
* wait a while
|
|
|
|
* link with libEGL.dll.lib and libGLESv2.dll.lib
|
|
* put libEGL.dll and libGLESv2.dll in same directory as executable |