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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: gprbuilds and bullds using the gpr within gps Date: Fri, 29 May 2015 18:56:35 +0200 Organization: cbb software GmbH Message-ID: References: <4119667f-ff4b-4459-8bff-238129fbfac8@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: evoS9sCOdnHjo0GRLLMU1Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:193380 Date: 2015-05-29T18:56:35+02:00 List-Id: On Fri, 29 May 2015 09:34:19 -0700 (PDT), tonyg wrote: > I cleared out the gpr file, and deleted the dot gps directory and this > seemed to work. GPR files seems to grow and grow! Then, likely, you do something wrong. GPR files need not to be long. E.g. I have ones for 4 platforms and dozens of targets (with alternated sources and libraries), they are not longer than 100 lines, most of them are 20 lines or less. GPR nicely inherits almost everything you needed from with-ed projects. The rest can be obtained from with-ed projects though attributes. No need to repeat anything in a dependent GPR file. The only thing that is missing is conditional "with" (I am aware of "workarounds," they don't work). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de