tldr/pages/common/gnatprep.md

13 lines
394 B
Markdown
Raw Normal View History

# 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}}`
2023-05-30 19:37:28 +01:00
- Specify symbol values in the command-line:
`gnatprep -D{{name}}={{value}} {{source_file}} {{target_file}}`