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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.14.8 with SMTP id 8mr28998184ioo.33.1438017451908; Mon, 27 Jul 2015 10:17:31 -0700 (PDT) X-Received: by 10.140.98.138 with SMTP id o10mr482819qge.33.1438017451778; Mon, 27 Jul 2015 10:17:31 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f3no3601056igg.0!news-out.google.com!4ni82385qgh.1!nntp.google.com!69no2263309qgl.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 27 Jul 2015 10:17:31 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=81.203.145.32; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 NNTP-Posting-Host: 81.203.145.32 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Running a preprocessor from GPS? From: EGarrulo Injection-Date: Mon, 27 Jul 2015 17:17:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:27041 Date: 2015-07-27T10:17:31-07:00 List-Id: On Monday, July 27, 2015 at 6:47:54 PM UTC+2, David Botton wrote: > >> But, how can I integrate an external preprocessor in GPS so that `Buil= d` and `Build All` will perform macro expansion before compilation? Thank = you. >=20 > Write a makefile, I've not found that any large complex system can use on= ly GPR files so by extension GPS an IDE that uses them. The problem is that I don't know how I could code with GPS while using a fi= le with a different extension, because I will have to use a different exten= sion for Ada source files, right? I mean: since I will using an external p= reprocessor, I will not be editing to edit an *.adb file directly, but inst= ead I will be editing an "input file" that will be converted to the *.adb t= hat `gnatmake` will compile in the end. Therefore I will have no code comp= letion, and clicking on compilation errors will bring me to a different fil= e.