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: 103376,170b136bef612224 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.11.239 with SMTP id t15mr15159524wib.5.1366717075173; Tue, 23 Apr 2013 04:37:55 -0700 (PDT) Path: p18ni16599wiv.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Specifying a target in a GPRBuild project file? Date: Tue, 23 Apr 2013 13:37:50 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: MElZi/LkXjdV3cIyylAczw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-04-23T13:37:50+02:00 List-Id: Le Tue, 23 Apr 2013 10:09:35 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > Le Tue, 23 Apr 2013 09:46:26 +0200, Yannick Duch=C3=AAne (Hibou57) = > a =C3=A9crit: > >> So I was primarily wondering if there is a way to specify the target = in = >> a project file using an attribute. > > Oops, sorry, it was there: > > User guide @1.9.10.1 Project Level Attributes >> Target: singleValue is the name of the target platform. I may be doing something wrong, if some one know how to set it up, here = is = how it does not work as expected with me: if I give GPRBuild a `--target= ` = option, it does not seems to set the project Target attribute (it stays = an = empty string); now if I give the project a Target attribute, it does not= = make GPRBuild choose the good configuration file. Seems the `--target` option and the Target attribute are distinct and do= = different things. I'm wondering what the Target attribute do finally. What am I missing? -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity