[gps-users] Using Properocessors with GPS

Arnaud Charlet charlet at adacore.com
Sat Dec 16 18:16:01 CET 2006


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

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

Arno


More information about the gps-users mailing list