Skip to content

Files

Latest commit

3a6e7bb · Nov 14, 2024

History

History
This branch is 14 commits behind RobLoach/raylib-cpp:master.

CMake

raylib-cpp CMake Example Project

Use this template to build a raylib-cpp project using CMake.

Build

To build this project, make sure to have CMake installed locally.

Desktop

mkdir build
cd build
cmake ..
make

Web

mkdir build
cd build
emcmake cmake .. -DPLATFORM=Web -DCMAKE_BUILD_TYPE=Release
emmake make

Run

./raylib-cpp-example