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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!r13g2000vbr.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: conditionnal compilation Date: Wed, 13 May 2009 20:06:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6b2ccf49-1c72-434e-8fc8-aa3c5d75f807@r13g2000vbr.googlegroups.com> References: <4259b442-6772-4527-989a-b20e1641b8d0@g20g2000vba.googlegroups.com> NNTP-Posting-Host: 77.198.58.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1242270413 22729 127.0.0.1 (14 May 2009 03:06:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 14 May 2009 03:06:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r13g2000vbr.googlegroups.com; posting-host=77.198.58.1; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5832 Date: 2009-05-13T20:06:53-07:00 List-Id: On 13 mai, 22:08, guerrier.cacha...@gmail.com wrote: > Hi my friends > Now that I know Ada has not built'in support for conditional > compilation such a full-featured preprocessor, I would like know what > should I use instead ? > I precise I'm just a little beginner who doesn't want to compile > anything . > What really happend when I specify "--no-ssl" at some Ada-written > program compilation ? Same as Jeffrey, with another thing : for flavoured and option driven code, you may also write a little program (in Ada, you can, or a shell script) which will produce an automatically generated code for a package which will contains all flavoured variations. This may be driven my a make file. This little program may be build during the build process of the overall application.