I have a mixed C++ and Ada project. A GPRbuild project is used to build it and there is no makefile.
There is a script which creates an H file with constants such as build host, username and git commit.
How do I run the script before compiling the file that import its result?
I did not find a gprbuild option for pre/post build steps, probably because it breaks portability.
What is the common practice in this case?