mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 22:41:36 +00:00
18 lines
487 B
Plaintext
18 lines
487 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gnatprep
|
|
|
|
> Preprocessor for Ada source code files (part of the GNAT toolchain).
|
|
> More information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Preprocessing-with-gnatprep.html>.
|
|
|
|
- Use symbol definitions from a file:
|
|
|
|
`gnatprep {{source_file}} {{target_file}} {{definitions_file}}`
|
|
|
|
- Specify symbol values in the command-line:
|
|
|
|
`gnatprep -D{{name}}={{value}} {{source_file}} {{target_file}}`
|