[Emacs-ada-mode] Using GNAT Project (*.gpr) files with Ada Mode
Ludovic Brenta
ludovic at ludovic-brenta.org
Fri Aug 15 03:39:19 PDT 2008
IIUC, Ada-mode now uses both *.gpr and *.adp files. It passes the *.gpr file the
"gnat ls -P", parses the output, and generates the *.adp file. So, you don't
have to maintain the *.adp file by hand, you don't have to distribute it to
users, and you don't require them to use emacs.
The *.adp file contains the "compile" command which is something like "gnatmake
-P*.gpr".
My version of ada-mode didn't use *.adp files at all, but it didn't try to find
or parse "with"ed project files. Stephe's version does, so my version is dead
now.
--
Ludovic Brenta.
More information about the Emacs-ada-mode
mailing list