[gps-users] Using Properocessors with GPS

Michael Erdmann michael.erdmann at snafu.de
Sat Dec 16 22:03:02 CET 2006


-----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-----


More information about the gps-users mailing list