comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: gnat project "include file"
Date: Mon, 7 Dec 2009 11:58:16 -0800 (PST)
Date: 2009-12-07T11:58:16-08:00	[thread overview]
Message-ID: <084fee15-9ced-4e45-9b36-1955e31ef54e@e27g2000yqd.googlegroups.com> (raw)
In-Reply-To: 4e8ce175-17da-414d-ba32-57406d23831a@x25g2000prf.googlegroups.com

On Dec 7, 6:27 pm, Zircona <Zircon...@yahoo.com> 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.



  reply	other threads:[~2009-12-07 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-07 18:27 gnat project "include file" Zircona
2009-12-07 19:58 ` sjw [this message]
2009-12-08  8:42 ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox