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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,80155a886d197693 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Conditional Compilation in Ada Date: Mon, 29 Jun 2009 16:13:30 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <5618a901-6b05-4a60-8362-7821261da50b@f19g2000yqo.googlegroups.com> <768c8117-d8af-4a04-b27e-2e74b69c1e8b@y17g2000yqn.googlegroups.com> <15ce8441-af38-4498-b3ed-c0517ad87dc6@x3g2000yqa.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1246306410 10347 192.74.137.71 (29 Jun 2009 20:13:30 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 29 Jun 2009 20:13:30 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:CjJ+ELN9rGQ+0ze7RRYvmBxxrSM= Xref: g2news2.google.com comp.lang.ada:6730 Date: 2009-06-29T16:13:30-04:00 List-Id: Chrono writes: > Well, creating folders for each scenario is definitely not a better > solution than using a prep script, mainly in a project with high > complexity in its architecture. It is better in some ways, and worse in other ways. It's certainly possible to make a real mess of things by scattering preprocessor commands all over the place. Anyway, GNAT comes with a preprocessor. You can find info in the documentation. >... Even creating new packages for doing > this (or new variables which are going to be compiled with main code), > due to requirements restrictions. I don't understand what you mean by that. >...But thanks even though for all > responses. - Bob