Bug 1025965 - RFE: Please add gpr directory
Summary: RFE: Please add gpr directory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-gnat-project-common
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Björn Persson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-02 14:35 UTC by Pavel Zhukov
Modified: 2014-06-18 07:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-18 09:38:01 UTC
Type: Bug


Attachments (Terms of Use)

Description Pavel Zhukov 2013-11-02 14:35:54 UTC
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.

Comment 1 Björn Persson 2013-11-02 16:15:34 UTC
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.

Comment 2 Björn Persson 2013-11-08 17:28:47 UTC
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.

Comment 3 Pavel Zhukov 2013-11-18 09:38:01 UTC
Bjorn, 

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.


Note You need to log in before you can comment on or make changes to this bug.