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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,170b136bef612224 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.160.65 with SMTP id m1mr31284253qax.2.1367003394041; Fri, 26 Apr 2013 12:09:54 -0700 (PDT) X-Received: by 10.50.150.180 with SMTP id uj20mr548419igb.7.1367003394005; Fri, 26 Apr 2013 12:09:54 -0700 (PDT) Path: ef9ni23500qab.0!nntp.google.com!gp5no7285233qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 26 Apr 2013 12:09:53 -0700 (PDT) In-Reply-To: <1hdsodgh31xt9$.1ua65srkn4jrx$.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 References: <8f5e2358-05ab-4b0f-82be-b2f2d7438765@googlegroups.com> <51796066.5060906@obry.net> <1jpdzc49i9m1w.12yp9l8whf5lk$.dlg@40tude.net> <517AA6C1.7050508@obry.net> <1hdsodgh31xt9$.1ua65srkn4jrx$.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Specifying a target in a GPRBuild project file? From: sbelmont700@gmail.com Injection-Date: Fri, 26 Apr 2013 19:09:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-04-26T12:09:53-07:00 List-Id: On Friday, April 26, 2013 2:32:31 PM UTC-4, Dmitry A. Kazakov wrote: >=20 > Do I correctly understand that "target" requires a configuration project? >=20 > Because I use none. >=20 You always use a configuration project, either explicitly (i.e. using --con= fig) or implicitly (using --target). The target option just invokes gprcon= fig, which auto-produces the 'auto.cgpr' based on the language and path val= ues and drops in the current directory. My point is that any config file, auto.cgpr included, contains a 'target' a= ttribute which is, for all intents and purposes, the same as your external = platform variable. You ought to be able to do "case project'Target" instea= d of "case Platform" and achieve the same result without fussing about with= an external variable, except GNAT is broken. -sb