Ada binding for the Raylib library. Many functions are missing and some are not tested !
Le script build.sh peut télécharger et compiler Raylib automatiquement :
# Télécharge, compile et installe raylib 5.6 dans ~/.local
./build.sh raylib
# Copier et configurer
cp config.example config
# Éditer 'config' et définir RAYLIB_PATH="$HOME/.local"
# Compiler le binding Ada
./build.sh
Installer Raylib depuis votre gestionnaire de paquets ou depuis les sources :
# Debian/Ubuntu
sudo apt install libraylib-dev
# macOS
brew install raylib
# OpenBSD
doas pkg_add raylib
# Ou compiler depuis les sources
git clone https://github.com/raysan5/raylib.git
cd raylib
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/.local
make && make install
Puis configurer le projet :
cp config.example config
# Éditer 'config' selon votre installation
./build.sh
Porting examples (full list here) :
Ada
92.4%
Makefile
3.6%
Shell
2.8%
Python
1.3%
Ada binding for the Raylib library. Many functions are missing and some are not tested !
Le script build.sh peut télécharger et compiler Raylib automatiquement :
# Télécharge, compile et installe raylib 5.6 dans ~/.local
./build.sh raylib
# Copier et configurer
cp config.example config
# Éditer 'config' et définir RAYLIB_PATH="$HOME/.local"
# Compiler le binding Ada
./build.sh
Installer Raylib depuis votre gestionnaire de paquets ou depuis les sources :
# Debian/Ubuntu
sudo apt install libraylib-dev
# macOS
brew install raylib
# OpenBSD
doas pkg_add raylib
# Ou compiler depuis les sources
git clone https://github.com/raysan5/raylib.git
cd raylib
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/.local
make && make install
Puis configurer le projet :
cp config.example config
# Éditer 'config' selon votre installation
./build.sh
Porting examples (full list here) :
Ada
92.4%
Makefile
3.6%
Shell
2.8%
Python
1.3%