Re: Using Properocessors with GPS
Michael Erdmann <[email protected]> Sat, 16 Dec 2006 22:03:02 +0100
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arnaud Charlet wrote: >> i am using preprocessors in the build process of some Ada application. >> With normal make this is no problem, but with the project file system >> of GNAT which is used by GPS this is a problem. > > If you're using the gnat preprocessor, then it's just a matter of using > -gnatep compiler switches in the project properties. Unfortuantly not gnatprep; it does some thing different. May be i should make my preprocessor look like the gnatprep. But this is a cheating solution. I don't like it :-) > >> The only solution i am seeing in the moment is to call a normal >> make file for building within GPS. > > That's also a solution: use a makefile which will do the preprocessing, and > then launch gnatmake -Pproject for the Ada part. I guess the only way of integrating this into the tools menu is a customizing xml entry i guess? > > Arno > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFhF8G9DXgz96/ddIRAplzAKCerBdzEj372THoQy1N7hNFH8yMpQCeLqF6 OCEX9SfyVCu5BhJMxcCRKA8= =OKm/ -----END PGP SIGNATURE-----