mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
578 B
Plaintext
26 lines
578 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gprbuild
|
|
|
|
> A high-level build tool for projects written in Ada and other languages (C/C++/Fortran).
|
|
> More information: <https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug.html>.
|
|
|
|
- Build a project (assuming only one `*.gpr` file exists in the current directory):
|
|
|
|
`gprbuild`
|
|
|
|
- Build a specific [P]roject file:
|
|
|
|
`gprbuild -P {{project_name}}`
|
|
|
|
- Clean up the build workspace:
|
|
|
|
`gprclean`
|
|
|
|
- Install compiled binaries:
|
|
|
|
`gprinstall --prefix {{path/to/installation_directory}}`
|