From d27d582e9af44fb20ccff407325fad796636bdff Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 23 Aug 2025 00:35:50 +0200 Subject: [PATCH] Update Compiling for Windows to refer to ANGLE install script This simplifies the process for compiling with statically linked ANGLE. --- .../development/compiling/compiling_for_windows.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contributing/development/compiling/compiling_for_windows.rst b/contributing/development/compiling/compiling_for_windows.rst index 5f84cfcfd4a..9ffffce32ea 100644 --- a/contributing/development/compiling/compiling_for_windows.rst +++ b/contributing/development/compiling/compiling_for_windows.rst @@ -299,12 +299,15 @@ By default, Godot is built with dynamically linked ANGLE, you can use it by plac To compile Godot with statically linked ANGLE: -- Download pre-built static libraries from `godot-angle-static library `_, and unzip them. -- When building Godot, add ``angle_libs={path}`` to tell SCons where to look for the ANGLE libraries: +- Run ``misc/scripts/install_angle.py`` in the Godot source repository. +- When building Godot, add ``angle=yes`` to tell SCons to statically link ANGLE: :: - scons platform=windows angle_libs=<...> + scons platform=windows angle=yes + +If you've manually installed ANGLE, you can specify a custom path using the ``angle_libs`` +SCons option. .. note:: You can optionally build the godot-angle-static libraries yourself with the following steps: