LinuxCommandLibrary

gprbuild

A high-level build tool for projects written in Ada and other languages (C/C++/Fortran).

TLDR

Build a project (assuming only one *.gpr file exists in the current directory)

$ gprbuild
copy


Build a specific [P]roject file
$ gprbuild -P[project_name]
copy


Clean up the build workspace
$ gprclean
copy


Install compiled binaries
$ gprinstall --prefix [path/to/installation/dir]
copy

Copied to clipboard