From: Phil Thornley <phil.jpthornley@gmail.com>
Subject: Re: Question about GNAT project files.
Date: Wed, 29 Feb 2012 09:18:50 -0000
Date: 2012-02-29T09:18:50+00:00 [thread overview]
Message-ID: <MPG.29b7fdd0da09567e98968f@news.zen.co.uk> (raw)
In-Reply-To: sOydnQ2Dss0V9tDSRVn_vwA@giganews.com
In article <sOydnQ2Dss0V9tDSRVn_vwA@giganews.com>, PChapin@vtc.vsc.edu
says...
>
> 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.
OK then, time to try something completely different. There's a facility
in the Examiner for a switch file containing the default switch settings
that will be used if they are not specified in the command line. The
file must be called spark.sw and is only read if it is in the current
working directory.
(It is described in Section 3.2 of the Examiner User Manual.)
So create a spark.sw file in the various working directories
(presumeably the same ones as the GPS project files) with at least the
index_file option specified appropriately and do not specify the index
file in the GPS project file.
Then just make sure that the "Ignore spark.sw" checkbox (on the Examiner
switches tab of GPS) is not checked and that should do it.
Cheers,
Phil
next prev parent reply other threads:[~2012-02-29 9:18 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
2012-02-29 9:18 ` Phil Thornley [this message]
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