From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d13bf824aeeb7e2b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.42.158.4 with SMTP id f4mr9411653icx.4.1330507138647; Wed, 29 Feb 2012 01:18:58 -0800 (PST) Path: h9ni22326pbe.0!nntp.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!xlned.com!feeder1.xlned.com!zen.net.uk!hamilton.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail From: Phil Thornley Newsgroups: comp.lang.ada Subject: Re: Question about GNAT project files. Date: Wed, 29 Feb 2012 09:18:50 -0000 Message-ID: References: Reply-To: phil.jpthornley@gmail.com MIME-Version: 1.0 User-Agent: MicroPlanet-Gravity/3.0.4 Organization: Zen Internet NNTP-Posting-Host: de0cac35.news.zen.co.uk X-Trace: DXC=K21ARlViSX=nN^nfM@]mn0YjZGX^207P;`b:6JNOYoB;SJ>jAPioiYkWB>>EB8k_cn?X; X-Complaints-To: abuse@zen.co.uk X-Received-Bytes: 2232 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-02-29T09:18:50+00:00 List-Id: In article , 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=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