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,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.212.113 with SMTP id nj17mr10296381wic.7.1366703189471; Tue, 23 Apr 2013 00:46:29 -0700 (PDT) Path: hg5ni15754wib.1!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: Specifying a target in a GPRBuild project file? Date: Tue, 23 Apr 2013 09:46:26 +0200 Organization: Ada @ Home Message-ID: 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-23T09:46:26+02:00 List-Id: Hi people, According to [1], neither of the `--target` or `--config` options are = allowed in a project file, and these can only be given to GPRBuild via t= he = command line. That's not that much an issue with the `--config` option, = as = this one is better derived from the `--target` option. So I was primaril= y = wondering if there is a way to specify the target in a project file usin= g = an attribute. I could not find one in the user guide, but may be I've just missed it. = Do = someone know an attribute to achieve this? Or may be a gentle trick? Or = = may be that's not feasible because GPRBuild needs to know the project = configuration before starting interpretation of the project file? [1]: http://docs.adacore.com/gprbuild-docs/html/gprbuild_ug.html -- = =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