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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32013886dc816d9f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-21 13:42:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!ctn1.com!news.completel.fr!news.agarik.com!news.agarik.com!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Per Sandberg Newsgroups: comp.lang.ada Subject: Re: Q: GPS and Preprocessor Date: Sat, 21 Feb 2004 22:39:45 +0100 Organization: Cuivre, Argent, Or Message-ID: References: Reply-To: per.sandberg@bredband.net NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1077399610 39048 212.85.156.195 (21 Feb 2004 21:40:10 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Sat, 21 Feb 2004 21:40:10 +0000 (UTC) To: Michael Erdmann , comp.lang.ada@ada-france.org Return-Path: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en, sv In-Reply-To: X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:5712 Date: 2004-02-21T22:39:45+01:00 If you got the profesional version of GPS then i asume that you got the the latest GNAT as well. so why dont use the embedded onth fly preprocessor se the -gnateDsymb=value needs a ferly new gnat in order to work 100% -gnatep=file options. I used gnatprep in one small project of mine and changed to use the inline prepocessor since i found that much more convenint. some project file sample from the top of my head: project sample is package builder is for Default_Switches use ("-s"); end builde; package compiler is for switches("source_that_needs_preprocessing.adb") use compiler'Default_Switches("Ada") & ("-gnatep=preprocessordat.data"); end compiler; end sample; /hope it helps /Per Michael Erdmann wrote: > Hallo, > > i have the non professinal version of GPS installed and i like to include > gnatprep into a GPS project. Is there any way of doing it? > > Regards > M.Erdmann > > > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada-france.org > http://www.ada-france.org/mailman/listinfo/comp.lang.ada >