comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry <lanceboyle@qwest.net>
Subject: Re: Pragma for conditional compilation? (Ada 2005 vs. 95)
Date: Thu, 27 Sep 2007 14:56:18 -0700
Date: 2007-09-27T14:56:18-07:00	[thread overview]
Message-ID: <1190930178.810160.282870@w3g2000hsg.googlegroups.com> (raw)
In-Reply-To: <46FBE17B.6060007@obry.net>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1293 bytes --]

On Sep 27, 9:59 am, Pascal Obry <pas...@obry.net> wrote:
> Georg Bauhaus a écrit :
>
> > Sounds like simple configuration management will help.
> > If you are using GNAT, make two project files, and two
> > source directories for units that differ.
>
> Or one project file with the proper directory selected by a project
> variable. This variable will appear inside GPS (see scenario view).
> Quite handy and very simple. But I agree, no conditional compilation
> needed this is a configuration management issue.
>
> Pascal.
>
Thanks all who suggested the project file solution. That sounds like
the way to go. More to learn for me 8^).

I would then have to see how this might fit into the build system
(cmake) used by the SVN gurus on this project. (The project is PLplot,
BTW.) They have been amazing in their ability to incorporate my Ada
code into their project so far, given that there are no Ada
programmers involved (except for me) and given that I know little of
cmake or SVN (commits are made for me by a guru).

The good news is that everything I have done compiles and runs
correctly on every system that they have tested it with (thanks to
help I received quite a while back from this list regarding other
issues).

Always the Ada noob,
Jerry




  reply	other threads:[~2007-09-27 21:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27  7:56 Pragma for conditional compilation? (Ada 2005 vs. 95) Jerry
2007-09-27  9:31 ` Georg Bauhaus
2007-09-27 16:59   ` Pascal Obry
2007-09-27 21:56     ` Jerry [this message]
2007-09-27  9:52 ` Stephen Leake
2007-09-27  9:58 ` Brian Drummond
2007-09-27 15:26 ` anon
2007-09-27 21:46   ` Jerry
2007-09-28  4:55     ` Jeffrey R. Carter
2007-09-28 12:15       ` Jeffrey Creem
2007-09-28 14:06         ` Jean-Pierre Rosen
2007-09-28 15:24           ` Ludovic Brenta
2007-09-28 16:08             ` Jean-Pierre Rosen
2007-09-28 17:54               ` Georg Bauhaus
2007-09-28 18:19                 ` Pascal Obry
2007-09-28 20:02                   ` Stefan Bellon
2007-09-28 20:14                     ` Pascal Obry
2007-09-28 20:26                       ` Stefan Bellon
2007-09-29 10:24                     ` Stephen Leake
2007-09-28 20:04                   ` Simon Wright
2007-09-28 20:11                     ` Pascal Obry
2007-09-29 10:29                     ` Stephen Leake
2007-09-29 10:18               ` Stephen Leake
2007-09-28 18:07     ` anon
2007-09-29 22:13 ` Jerry
2007-09-30 10:54   ` Stephen Leake
replies disabled

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