[Emacs-ada-mode] Adapting comp_cmd or make_cmd in my .emacs, NOT in some .adp (project) file

Stephen Leake stephen_leake at stephe-leake.org
Thu Oct 12 10:54:22 PDT 2006


Jean-Pierre Rosen <rosen at adalog.fr> writes:

> Philippe Bertin a écrit :
>> I'd like to perform my compilations/makes based on the settings in my 
>> ~/.emacs, and all of them should be made regardless of any .adp 
>> settings. Because maintaining both a .gpr file and a .adp file will turn 
>> into maintenance problems one day or another. I'd be using gnatmake and 
>> it's -P switch and a .gpr project file to compile/make in emacs, just as 
>> I do them on the command line.
>> 
> If you download the latest version of AdaControl (hidden plug :-), the 
> GPS integration file gives you a menu to generate a .adp from the 
> current project. This may be a simple solution to your problem....

If you want to take that approach, before abandoning emacs, please try
gpr2adp.

Obviously having gpr2adp more integrated would be good; let me know
what would work for you.

-- 
-- Stephe



More information about the Emacs-ada-mode mailing list