Stephen Leake <[email protected]> writes:

> Ludovic Brenta <[email protected]> writes:
>
>> It is
>> simpler for us to use $ADA_OBJECTS_PATH, which we also generate
>> automatically, than to fix our GNAT project file generators.
>
> Which I guess rules out using a .gpr for the Ada mode project file.
>
> So you now have a line like:
>
> obj_dir=$ADA_OBJECTS_PATH
>
> in your Emacs Ada mode .prj file?
>
> Or does gnatfind see the env var directly?

You can set an environment variable for project-specific background
processes in the Emacs Ada mode .prj file by prefixing the variable name
with $ :

$ADA_OBJECTS_PATH=...

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to