Fabien-Chouteau / raylib-ada

Ada bindings for the Raylib library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raylib-ada

Ada bindings for the Raylib library

Using raylib-ada

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.

Building the examples

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

About

Ada bindings for the Raylib library


Languages

Language:Ada 93.1%Language:Python 6.5%Language:Shell 0.3%Language:C 0.0%