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.87.193 with SMTP id ba1mr834649wib.0.1366730270494; Tue, 23 Apr 2013 08:17:50 -0700 (PDT) Path: hg5ni17197wib.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!news.mixmin.net!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 17:17:43 +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-23T17:17:43+02:00 List-Id: Le Tue, 23 Apr 2013 16:04:30 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > I've checked again, and was wrong with the first point, but still OK = > with second. The Target attribute really gets initialized with the = > `--target` option, [=E2=80=A6] Now I see more, and understand why I've seen two different behaviours. = Here is: it's initialized with `--target` for classic project files only= , = and it's not initialized with library project files. With library = projects, whatever the `--target` option, the Target attribute will alwa= ys = be an empty string. Will drop a mail to AdaCore later (I'm pretty sure that's not the intend= ed = behaviour=E2=80=A6 too strange). -- = =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