Ada bindings for the Raylib library
This project is available in the Alire package manager.
To use it, just add raylib
in your dependencies:
$ alr with raylib
The binding and Raylib library will be automatically built.
If you are making an application/executable, you have to add this:
package Linker is
for Switches ("Ada") use ("-lraylib", "-lm");
end Linker;
in your .gpr
file to link with the Raylib and math libraries.
Checkout the repository and, using Alire, run the following commands:
$ git clone --recurse-submodules https://github.com/Fabien-Chouteau/raylib-ada
$ cd raylib-ada/examples
$ alr run examples
$ alr run gui_example