mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Change meson section to cmake, as meson support was removed
@ -77,20 +77,20 @@ To force recompile one example:
|
|||||||
|
|
||||||
The `raylib/games` folder can be made the same way as the examples. Have fun!
|
The `raylib/games` folder can be made the same way as the examples. Have fun!
|
||||||
|
|
||||||
### Build raylib source code using meson
|
### Build raylib source code using cmake
|
||||||
|
|
||||||
Building with meson on Linux is easy. If you have all the dependencies installed just use the following:
|
Building with cmake on Linux is easy, just use the following:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/raysan5/raylib.git raylib
|
git clone https://github.com/raysan5/raylib.git raylib
|
||||||
cd raylib
|
cd raylib
|
||||||
meson builddir
|
mkdir build && cd build
|
||||||
cd builddir
|
cmake -DSHARED=ON -DSTATIC=ON ..
|
||||||
ninja
|
make
|
||||||
ninja install
|
make install
|
||||||
```
|
```
|
||||||
|
|
||||||
In case any dependencies are missing, meson will tell you.
|
In case any dependencies are missing, cmake will tell you.
|
||||||
|
|
||||||
**If you have any doubt, [just let me know][raysan5].**
|
**If you have any doubt, [just let me know][raysan5].**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user