Bug 1025965

Summary: RFE: Please add gpr directory
Product: [Fedora] Fedora Reporter: Pavel Zhukov <pzhukov>
Component: fedora-gnat-project-commonAssignee: Björn Persson <bjorn>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: bjorn, nobody, pzhukov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-18 09:38:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.