sergeypdev 6b853a6601 Squashed 'libs/raylib/' content from commit 3a1d6261e
git-subtree-dir: libs/raylib
git-subtree-split: 3a1d6261e24d8931de237c746ff0562e0231a2c4
2025-05-02 23:41:00 +04:00
..

raylib CMake Project

This provides a base project template which builds with CMake.

Usage

To compile the example, use one of the following dependending on your build target...

Desktop

Use the following to build for desktop:

cmake -B build
cmake --build build

Web

Compiling for the web requires the Emscripten SDK:

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