comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <PChapin@vtc.vsc.edu>
Subject: Re: Question about GNAT project files.
Date: Tue, 28 Feb 2012 19:04:21 -0500
Date: 2012-02-28T19:04:21-05:00	[thread overview]
Message-ID: <sOydnQ2Dss0V9tDSRVn_vwA@giganews.com> (raw)
In-Reply-To: <MPG.29b68b0bdc3264898968e@news.zen.co.uk>

On 2012-02-28 01:56, Phil Thornley wrote:

> Try adding:
>
>     package Ide is
>        for Default_Switches ("examiner")
>          use ("-index_file=<path to project folder>lib.idx");
>     end Ide;
>
> to main.gpr.  This should override the index file defined in lib.gpr.

That doesn't seem to work. Although the new switches are used for files 
in the main project, when I try to examine a file in the subproject it 
still uses the switches as defined by that subproject's *.gpr file 
(which contain incorrect paths relative to the main project's root).

Peter



  reply	other threads:[~2012-02-29  0:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 19:48 Question about GNAT project files Peter C. Chapin
2012-02-26 20:15 ` Dmitry A. Kazakov
2012-02-26 22:18 ` Greg Moncreaff
2012-02-27 13:41   ` Peter C. Chapin
2012-02-28 16:59     ` Yannick Duchêne (Hibou57)
2012-02-28 18:10       ` AdaMagica
2012-02-28 18:14       ` Simon Wright
2012-02-27 13:08 ` Ludovic Brenta
2012-02-27 13:43   ` Peter C. Chapin
2012-02-27 15:27   ` Simon Wright
2012-02-28  2:02   ` Peter C. Chapin
2012-02-28  6:56     ` Phil Thornley
2012-02-29  0:04       ` Peter C. Chapin [this message]
2012-02-29  9:18         ` Phil Thornley
2012-02-29 14:51           ` Peter C. Chapin
2012-02-29 16:49             ` Phil Thornley
2012-02-29 17:17               ` Peter C. Chapin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox