diff --git a/Working-on-GNU-Linux.md b/Working-on-GNU-Linux.md index 694d834..327f498 100644 --- a/Working-on-GNU-Linux.md +++ b/Working-on-GNU-Linux.md @@ -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