comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Two questions about gpr files
Date: Tue, 08 Apr 2014 03:07:30 -0500
Date: 2014-04-08T03:07:30-05:00	[thread overview]
Message-ID: <8561mktfb1.fsf@stephe-leake.org> (raw)
In-Reply-To: b9a73b03-7938-416b-b6d1-ce74c925f34d@googlegroups.com

mockturtle <framefritti@gmail.com> writes:

>   (a)  to run on different systems (e.g., Windows, Linux, ...) 
> despite the fact that it needs to access to some system-specific 
> features that are outside the scope of the standard.
>
>   (b)  to use a GTK-based interface, but falling down to a text-based
> one (e.g., ncurses) if GTK is not available at compilation time
>
> <snip>
>
> I looked around the gprbuild documentation, but I was not able to find anything.  I know I could use external variables, such as reading environment variables or use the -X switch, but I would like a solution that works on any OS (OK, most of the commonly used OSes :-) and it requires no special intervention from the user that compiles the code.
>
> Any ideas?

use a Makefile, and or a configure script.

See gnatcoll for detailed ideas.

-- 
-- Stephe


  parent reply	other threads:[~2014-04-08  8:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-05  8:01 Two questions about gpr files mockturtle
2014-04-05 11:19 ` Simon Wright
2014-04-08  8:07 ` Stephen Leake [this message]
2014-04-08  9:38   ` 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