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: a07f3367d7,11936ac6f9ea8db1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!e27g2000yqd.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: gnat project "include file" Date: Mon, 7 Dec 2009 11:58:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <084fee15-9ced-4e45-9b36-1955e31ef54e@e27g2000yqd.googlegroups.com> References: <4e8ce175-17da-414d-ba32-57406d23831a@x25g2000prf.googlegroups.com> NNTP-Posting-Host: 82.30.110.254 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1260215896 23782 127.0.0.1 (7 Dec 2009 19:58:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 7 Dec 2009 19:58:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e27g2000yqd.googlegroups.com; posting-host=82.30.110.254; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8337 Date: 2009-12-07T11:58:16-08:00 List-Id: On Dec 7, 6:27=A0pm, Zircona wrote: > I got a projet which are multiple project.. Some of them have > dependency to the other. > Is there a way to change the with command to used an environment > variable? > E.g. > I have a project call electrics.gpr: > with "..\..\..\acsys_common\dist\script\acsys_common.gpr" > project electrics is > end electrics; > > I would like something like > with External ("ACSYS_COMMON_SCRIPT") & "/acsys_common.gpr" > project electrics is > end electrics; The 'normal' way would be to set the environment variable ADA_PROJECT_PATH -- you're on a Windows system, so the paths will be semicolon-separated.