Ludovic Brenta <[email protected]> writes:

> Stephen Leake <[email protected]> writes:
>> 'build_dir' and 'obj_dir' are not used by ada-mode code; what do
>> you use them for? They could occur in your values for
>> ada-build-{check|make|run}-cmd. 
>
> I think cross-references need the .ali files which are in the obj_dir,
> not in the src_dir (they are separate for us).

Yes, that's true.

But my point is that the ada-mode code that builds the cross reference
commands does _not_ use (ada-prj-get 'obj_dir). There is literally no
occurrence of "obj_dir" in the current ada-mode sources. ada-gnat-xref
and gpr-query both assume a GNAT project file, which specifies the
obj_dir.

So you must be using it in some other way. Or you don't need it.

ada-mode 4.01 did use obj_dir.

-- 
-- Stephe

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

Reply via email to