raylib/projects/Builder/README.md
2018-05-10 17:35:02 +02:00

1.3 KiB

Builder project template

This is a project template to be used with GNOME Builder. We use the meson build system here.

We can compile our project via the command line:

meson build
cd build
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.

We added comments to the file to give you an idea which values you should edit. For a full overview of options please check the meson manual.

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.

Check out the examples directory for a simple example on how to use this template. You can also look at raymario for a slightly more complex example which also installs resource files.

Notice

The files provided link against glfw3 and openAL because the latest stable version of raylib is version 1.8, which still needs this. For later versions these two dependencies are not necessary anymore.