зеркало из https://github.com/AvaloniaUI/angle.git
951 B
951 B
Deprecated GYP Instructions
Use GN instead of GYP, as described in the developer instructions. Support for GYP will be removed in the future.
Though deprecated, GYP is still run by gclient sync
.
You may want to set certain environment variables ahead of time.
On Windows:
GYP_GENERATORS
tomsvs
(other options includeninja
andmake
)GYP_MSVS_VERSION
to2015
On Linux and MacOS:
GYP_GENERATORS
toninja
(defaults to 'make' that pollutes your source directory)
To run GYP at other times use the script gyp/gyp_angle
.
Running ANGLE under apitrace on Linux
See the debugging tips and replace the gn steps with:
gyp/gyp_angle -D angle_link_glx=1 -D angle_gl_library_type=static_library
Deprecated Windows Store Instructions
Building for Windows Store is deprecated because it requires GYP.