mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Added how to build examples with cmake
@ -96,7 +96,7 @@ In case any dependencies are missing, cmake will tell you.
|
||||
|
||||
_NOTE:_ raylib is configurable and can be be built in a variety of ways. See the [CMake Build Options](https://github.com/raysan5/raylib/wiki/CMake-Build-Options) for a full listing of available options and values. Alternatively, you may use the curses UI provided by `ccmake(1)` for interactively configuring raylib.
|
||||
|
||||
## Building Examples
|
||||
## Building Examples with make
|
||||
|
||||
If you have installed raylib with `make install`, Just move to the folder `raylib/examples` and run:
|
||||
|
||||
@ -121,6 +121,11 @@ To force recompile one example:
|
||||
|
||||
The `raylib/games` folder can be made the same way as the examples. Have fun!
|
||||
|
||||
## Building examples with cmake
|
||||
In `raylib/examples` run:
|
||||
|
||||
cmake -DCUSTOMIZE_BUILD=ON -DBUILD_EXAMPLES=ON ..
|
||||
make
|
||||
|
||||
### Link raylib with system GLFW
|
||||
|
||||
|
||||
Reference in New Issue
Block a user