|
|
|
@ -10,15 +10,23 @@ The game has only one runtime dependency: The [raylib](https://www.raylib.com/)
|
|
|
|
|
|
|
|
|
|
This application uses [Meson](https://mesonbuild.com/) as a build system. To build the application:
|
|
|
|
|
1. Install meson from the link above.
|
|
|
|
|
2. Set up the build directory.
|
|
|
|
|
|
|
|
|
|
2. Clone the repository.
|
|
|
|
|
|
|
|
|
|
3. Update all submodules:
|
|
|
|
|
```
|
|
|
|
|
git submodule update --init --recursive
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
3. Set up the build directory.
|
|
|
|
|
```
|
|
|
|
|
meson setup build
|
|
|
|
|
```
|
|
|
|
|
3. Compile the application. Meson should use a system installation of raylib, if it exists. If not, it falls back to a bundled version.
|
|
|
|
|
4. Compile the application. Meson should use a system installation of raylib, if it exists. If not, it falls back to a bundled version.
|
|
|
|
|
```
|
|
|
|
|
meson compile -C build
|
|
|
|
|
```
|
|
|
|
|
4. You can also create a statically-linked version of the game (with no runtime dependencies) on Linux by running the following commands:
|
|
|
|
|
5. You can also create a statically-linked version of the game (with no runtime dependencies) on Linux by running the following commands:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
meson configure -Ddefault_library=static build/
|
|
|
|
|