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.224.137.68 with SMTP id v4mr13886197qat.1.1377499332544; Sun, 25 Aug 2013 23:42:12 -0700 (PDT) X-Received: by 10.49.12.162 with SMTP id z2mr1650qeb.14.1377499331521; Sun, 25 Aug 2013 23:42:11 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!fx3no4795805qab.0!news-out.google.com!he10ni3465qab.0!nntp.google.com!fx3no4795803qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 25 Aug 2013 23:42:10 -0700 (PDT) In-Reply-To: <85k3j9fdq1.fsf@stephe-leake.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:2c10:cb40:d4a2:e618:b8fd:e436; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:120b:2c10:cb40:d4a2:e618:b8fd:e436 References: <167c4830-c8f9-48d3-9850-b1772c2aa452@googlegroups.com> <85k3j9fdq1.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <88b6ef16-7473-44a8-95fa-1115be6eac2c@googlegroups.com> Subject: Re: [GNAT] compiler options ignored for sources from ADA_INCLUDE_PATH From: gautier_niouzes@hotmail.com Injection-Date: Mon, 26 Aug 2013 06:42:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2582 Xref: news.eternal-september.org comp.lang.ada:16963 Date: 2013-08-25T23:42:10-07:00 List-Id: Le lundi 26 ao=FBt 2013 03:22:14 UTC+2, Stephen Leake a =E9crit=A0: [...] Thanks for the explanations. > If you want the same options (sounds like you do), create an 'options' > project file that just defines some variables, and use those variables > in the other project files. =20 There is a snag here. "The other project files" can be XMLAda and many othe= rs. XMLAda only depends on several project files: xmlada.gpr xmlada_dom.gpr xmlada_input.gpr xmlada_sax.gpr xmlada_schema.gpr xmlada_shared.gpr xmlada_unicode.gpr So I would need to to special versions of dozens of project files (xmlada2.= gpr, ...) for having a reference to options.gpr ? Then have installation instructions for the users of my project regarding w= here to place those special project files ? Do changes in xmlada2.gpr etc. each time xmlada.gpr etc. are changing ? I seems a bit complicated (to be polite)... It's very fine when all projects are yours, but if you use many external pr= ojects, it is not practical. Thanks anyway for the explanations. I think I'll stick to ADA_INCLUDE_PATH = and a main project and have a script to precompile those library items. _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address