This is a starter project for using Raylib and ANGLE with C/C++ and CMake. WARNING: Only tested on MacOS
- Clone this repository
- Run
./bootstrap - Build
./b - Run
./r
- Grab ANGLE dylibs from Your Google Chrome installation
cd /Applications/Google\ Chrome.app
find ./ -name libGLESv2.dylib
find ./ -name libEGL.dylib
-
Copy the dylibs to
libs/ -
Build with ANGLE
./b angle -
run with ANGLE
./r angle
DEPENDENCIES
- Apple Developer Command Line Tools (xcode) - On MacOS
- Ninja
- CMake
- Python 3
- Git
- depot_tools (gclient)
-
Bootstrap ANGLE Run
./bootstrap-angle -
Build with
./build-angle [Number of cores to build with] -
Copy ANGLE dylibs to libs/ - Run
./cp-angle-dylibs
Originally a fork of grplyler/raylib-cmake-starter, but I've decided to detach the repo since its distinct enough, and both repos are based on the same article. Still many thanks to grplyler for the resources and original implementation.