gnatmake, gnatprep, gprbuild: add page (#8557)

This commit is contained in:
Daniil Baturin
2022-10-09 23:04:52 +01:00
committed by GitHub
parent 8e47337714
commit d37879cb3e
3 changed files with 48 additions and 0 deletions

12
pages/common/gnatprep.md Normal file
View File

@@ -0,0 +1,12 @@
# 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}}`