comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: Checking for OS in gnatstudio project file(.gpr)
Date: Thu, 18 Jun 2020 04:41:02 -0700 (PDT)	[thread overview]
Message-ID: <bc74c3cf-a270-4370-93ea-edf8619c85d8o@googlegroups.com> (raw)
In-Reply-To: <5eeb50d9$0$1208$e4fe514c@news.kpn.nl>

On Thursday, June 18, 2020 at 1:33:20 PM UTC+2, ldries46 wrote:
> I em in neede for a possibility to check within a .gpr file which 
> operating system is runnung. Is there a way to do that? So I can use the 
> same project file without changing  the .gpr file when compiling a 
> program on different OS'ses.

Can't you define a scenario variable and set it on the command line? Then it's only the command line that differs between the two builds.

Regards,
Mark L

  reply	other threads:[~2020-06-18 11:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 11:32 Checking for OS in gnatstudio project file(.gpr) ldries46
2020-06-18 11:41 ` Mark Lorenzen [this message]
2020-06-18 12:13 ` Dmitry A. Kazakov
2020-06-18 16:44 ` Björn Lundin
2020-06-19  8:01 ` ldries46
2020-06-19  9:11   ` ldries46
2020-06-19  9:11   ` Mark Lorenzen
2020-06-19 16:29     ` Simon Wright
2020-06-20  9:02       ` ldries46
2020-06-19 16:43 ` Simon Wright
replies disabled

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