Skip to content

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Aug 22, 2025


  • Use a default angle_libs path similar to the default D3D12 libraries path.
  • Add angle=yes|no option to control whether ANGLE is statically linked.

misc/scripts/install_angle.py downloads and extracts ANGLE for all targets you can compile for according to the current platform.

TODO

  • Fix build when using angle=no (I get undefined reference errors during linking on MinGW from Linux).
  • Test on macOS and MSVC (I've only tested MinGW so far).
  • See what to do about the iOS downloads; they don't appear to be used anywhere in Godot's code.

- Use a default `angle_libs` path similar to the default D3D12
  libraries path.
- Add `angle=yes|no` option to control whether ANGLE is
  statically linked.

`misc/scripts/install_angle.py` downloads and extracts ANGLE for
all targets you can compile for according to the current platform.
from SCons.Variables import BoolVariable, EnumVariable

# ANGLE dependencies folders.
build_deps_folder = os.getenv("LOCALAPPDATA")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no LOCALAPPDATA env variable on macOS, it's windows specific. Should be ~/Library/Application Support/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants