[Emacs-ada-mode] gnatgpr
Jean-Pierre Rosen
rosen at adalog.fr
Sat Oct 14 22:27:20 PDT 2006
Stephen Leake a écrit :
> We should create a new executable 'gnatgpr', which can be invoked as
> follows:
>
> gnatgpr -P<file> --source_dirs
>
> returns (on standard output) the complete 'Source_Dirs'
> settings for the project file (including 'with'ed files).
>
> gnatgpr -P<file> --object_dirs
>
> returns the list of object dirs for the project (including
> 'with'ed files).
YES. I was thinking of doing something like that...
To be fully useful, the syntax could be something like:
gnatgpr -P <file> --source_dirs[=<prefix>]
If <prefix> is specified, it is concatenated in front of each directory.
Typically, this would allow to run any ASIS tool like
my_tool <other parameters> `gnat_gpr -P<file> --source_dirs="-I"`
--
---------------------------------------------------------
J-P. Rosen (rosen at adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
More information about the Emacs-ada-mode
mailing list