|
@ -25,7 +25,7 @@ Now, you need to download GLFW3 from sources and build it (you also need cmake t |
|
|
cmake . |
|
|
cmake . |
|
|
sudo make install |
|
|
sudo make install |
|
|
|
|
|
|
|
|
#### Build raylib source code |
|
|
|
|
|
|
|
|
#### Build raylib source code using make |
|
|
You can compile three different type of raylib library: |
|
|
You can compile three different type of raylib library: |
|
|
|
|
|
|
|
|
* The static library (default method); |
|
|
* The static library (default method); |
|
@ -65,6 +65,21 @@ To force one example recompile: |
|
|
|
|
|
|
|
|
make core_basic_window PLATFORM=PLATFORM_DESKTOP -B |
|
|
make core_basic_window PLATFORM=PLATFORM_DESKTOP -B |
|
|
|
|
|
|
|
|
|
|
|
### Build raylib source code using meson |
|
|
|
|
|
|
|
|
|
|
|
Building with meson on Linux is easy. If you have all the dependencies installed just use the following: |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
git clone https://github.com/raysan5/raylib.git raylib |
|
|
|
|
|
cd raylib |
|
|
|
|
|
meson builddir |
|
|
|
|
|
cd builddir |
|
|
|
|
|
ninja |
|
|
|
|
|
ninja install |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
In case any dependencies are missing, meson will tell you. |
|
|
|
|
|
|
|
|
**If you have any doubt, [just let me know][raysan5].** |
|
|
**If you have any doubt, [just let me know][raysan5].** |
|
|
|
|
|
|
|
|
[raysan5]: mailto:raysan5@gmail.com "Ramon Santamaria - Ray San" |
|
|
[raysan5]: mailto:raysan5@gmail.com "Ramon Santamaria - Ray San" |