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: 103376,6426898aedaa5880 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!208.49.83.154.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Pragma for conditional compilation? (Ada 2005 vs. 95) References: <1190879769.361848.188220@22g2000hsm.googlegroups.com> <1191103987.456677.192640@r29g2000hsg.googlegroups.com> From: Stephen Leake Date: Sun, 30 Sep 2007 06:54:10 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:mNCRtrFJYfqJmOgtTJd+Y3pkZm8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 954b846ff8050e05e48ed20985 Xref: g2news2.google.com comp.lang.ada:2235 Date: 2007-09-30T06:54:10-04:00 List-Id: Jerry writes: > Following is from the PLplot list. I don't understand it yet but it > seems that I have to put some stuff into my source (presumably hidden > behind comment marks) and modify one of the build files. This mechanism would be easiest to use with the package renaming approach. You distribute a file that has: package My_Package renames %real_package%; and the CMake CONFIGURE_FILE command changes that to: package My_Package renames My_Package_Ada_95; or package My_Package renames My_Package_Ada_2007; -- -- Stephe