Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raylib+ANGLE CMake Starter for C/C++

This is a starter project for using Raylib and ANGLE with C/C++ and CMake. WARNING: Only tested on MacOS

Getting Started

  1. Clone this repository
  2. Run ./bootstrap
  3. Build ./b
  4. Run ./r

Building with Google ANGLE (10x more draw calls on Apple Silicon) (Only tested on MacOS)

Option 1 - Grab ANGLE dylibs from a Google Chrome installation

  1. Grab ANGLE dylibs from Your Google Chrome installation
cd /Applications/Google\ Chrome.app
find ./ -name libGLESv2.dylib
find ./ -name libEGL.dylib
  1. Copy the dylibs to libs/

  2. Build with ANGLE ./b angle

  3. run with ANGLE ./r angle

Option 2 - Build ANGLE locally

DEPENDENCIES

  • Apple Developer Command Line Tools (xcode) - On MacOS
  • Ninja
  • CMake
  • Python 3
  • Git
  • depot_tools (gclient)
  1. Bootstrap ANGLE Run ./bootstrap-angle

  2. Build with ./build-angle [Number of cores to build with]

  3. 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.

About

A Raylib Starter Project for C/C++ and CMake

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages