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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.50.66.230 with SMTP id i6mr17250155igt.13.1441615296617; Mon, 07 Sep 2015 01:41:36 -0700 (PDT) X-Received: by 10.182.49.225 with SMTP id x1mr71020obn.16.1441615296599; Mon, 07 Sep 2015 01:41:36 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!kq10no1286223igb.0!news-out.google.com!nt1ni3359igb.0!nntp.google.com!kq10no1728063igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 7 Sep 2015 01:41:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.163.1.105; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq NNTP-Posting-Host: 193.163.1.105 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <06ca8009-c7b6-45f4-b4b9-b6c036db31a6@googlegroups.com> Subject: Re: Aggregate GPRs From: Mark Lorenzen Injection-Date: Mon, 07 Sep 2015 08:41:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:27723 Date: 2015-09-07T01:41:36-07:00 List-Id: On Sunday, August 30, 2015 at 7:24:01 PM UTC+2, Simon Wright wrote: > I see from the documentation[1] that, for projects built through the > aggregate project, package Builder is ignored (even if the aggregate > project doesn't have a package Builder?). >=20 > I've just found (with GPRBUILD GPL 2015) that the attributes Target and > Runtime are also ignored! I think this is reasonable. When aggregating several projects into an aggre= gate project, it is natural that they are build for the same target and sam= e RTS. No? > These features seem to me to reduce the usefulness of aggregate projects > to the point of uselessness. Does anyone have positive experiences with > them? Yes. We use an aggregate project to set an environment variable (LDSCRIPT) = that is used by the linker to locate the linker script. The value is derive= d from a scenario variable and it would thus not be easy to set it in the s= hell before invoking GPS or command-line tools. The aggregate project is th= us a simple wrapper around the "real" project. Regards, Mark L