Getting Started with libreglisse
Downloading the project
- Using
https
:git clone https://github.com/Wmbat/libreglisse
- Using
SSH
:git clone git@github.com:Wmbat/libreglisse.git
Building using build2
As stand-alone
- Setting up:
cd libreglisse
bdep init -C ../libreglisse-gcc-release/ @gcc-release cc config.cxx=g++ config.cc.coptions="-O3"
- Installing:
-
b install config.install.root=${install_dir}
Where
${install_dir}
is the installation path of your choosing
-
- Running tests:
b test
In an existing project
- Add library to repositories.manifest:
: role: prerequisite location: https://github.com/Wmbat/libreglisse
- Add depency to manifest:
depends: libreglisse ^0.1.0
- Import library in the buildfile and import as target
import libs = libreglisse%lib{reglisse} exe{example}: {hxx cxx}{**} $libs