Update README.md

This commit is contained in:
Ray 2021-07-05 11:52:13 +02:00 committed by GitHub
parent dbb2bbf207
commit 4e79e23a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Builder project template
This is a project template to be used with [GNOME Builder](https://raw.githubusercontent.com/jubalh/raymario/master/meson.build).
We use the [meson](https://raw.githubusercontent.com/jubalh/raymario/master/meson.build) build system here.
It uses the [meson](https://raw.githubusercontent.com/jubalh/raymario/master/meson.build) build system.
We can compile our project via the command line:
Project can be compiled via the command line using:
```
meson build
cd build
@ -11,13 +11,14 @@ ninja
ninja install
```
Or can simply click on the `meson.build` file to open it with Builder.
Alternatively you can open Builder first and click on the `open` button and the left top.
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.
We added comments to the file to give you an idea which values you should edit.
There are comments to the `meson.build` file to note the values that should be edited.
For a full overview of options please check the [meson manual](http://mesonbuild.com/Manual.html).
In the provided file we assume that the build file is located at the root folder of your project, and that all your sources are in a `src` subfolder.
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.
You can also look at [raymario](https://github.com/jubalh/raymario) for a slightly more complex example which also installs resource files.