Red Hat Bugzilla – Bug 1025965
RFE: Please add gpr directory
Last modified: 2014-06-18 03:22:17 EDT
Description of problem:
It would be great to have gprdir variable in the directories.gpr file (with IncludeDir and Libdir)
Please add it if possible.
You mean an assignment like this?
GPRdir := "/usr/share/gpr";
How would you use it? It won't help the GNAT tools find project files, because they need to already know to look in /usr/share/gpr to find directories.gpr.
Pavel, please explain in what situation you think this variable would be useful. I will push an update next week, adding Alidir and Archincludedir to accommodate Comfignat 1.2. It's easy to add GPRdir too, but I want to know what you intend to use it for.
Yep. It's my fault. I thought that for Source_List use Directories.GPRDir & "gnatcoll/sql.lgpr" would be better... Looks like it's wrong way.
I'm sorry for bugging you.