How do I build ANGLE for WinUI3? #50091
|
Hello! WinUI3 is officially supported in ANGLE, but you must build it with the flag set: Furthermore, to support unpackaged exe files, you must set a complex flag: Thank you in advance. |
Replies: 1 comment 1 reply
|
The vcpkg-native way to do this is an overlay port
vcpkg install angle[winappsdk]Instead:
One caveat: the current vcpkg If this works and the use case is common enough, the clean long-term solution would be a PR adding an |
The vcpkg-native way to do this is an overlay port
angledoes not currently expose awinappsdkfeature, so you cannot enable it directly with something like:Instead:
Copy
ports/anglefrom your vcpkg checkout into an overlay directory:Patch the overlay port to enable the WinAppSDK-related ANGLE build option.
Build with:
One caveat: the current vcpkg
angleport uses a CMake-based build generated from ANGLE's GN/GNI files, so the change may need to be added as a CMake option or a small patch to the port's CMake build files, not just as a ra…