raylib/projects/Builder/README.md

25 lines
1.1 KiB
Markdown
Raw Normal View History

2018-02-16 13:20:21 +03:00
# Builder project template
This is a project template to be used with [GNOME Builder](https://raw.githubusercontent.com/jubalh/raymario/master/meson.build).
2021-07-05 12:52:13 +03:00
It uses the [meson](https://raw.githubusercontent.com/jubalh/raymario/master/meson.build) build system.
2018-02-16 13:20:21 +03:00
2021-07-05 12:52:13 +03:00
Project can be compiled via the command line using:
2018-02-16 13:20:21 +03:00
```
meson build
cd build
ninja
ninja install
```
2021-07-05 12:52:13 +03:00
Or it can be opened with Building simply clicking on the `meson.build` file.
Alternatively, open Builder first and click on the `open` button at the top-left.
2018-02-16 13:20:21 +03:00
2021-07-05 12:52:13 +03:00
There are comments to the `meson.build` file to note the values that should be edited.
2018-02-16 13:20:21 +03:00
For a full overview of options please check the [meson manual](http://mesonbuild.com/Manual.html).
2021-07-05 12:52:13 +03:00
In the provided file, it's assumed that the build file is located at the root folder of the project, and that all the sources are in a `src` subfolder.
Check out the `examples` directory for a simple example on how to use this template.
2021-07-05 12:52:13 +03:00
You can also look at [raymario](https://github.com/jubalh/raymario) for a slightly more complex example which also installs resource files.