[gps-users] Using Properocessors with GPS

Michael Erdmann michael.erdmann at snafu.de
Sun Dec 17 10:58:02 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arnaud Charlet wrote:
....
> 
>> I guess the only way of integrating this into the tools menu is a
>> customizing xml entry i guess?
> 
> Or simply by using the Build->Make->Custom... which saves the last custom
> build command.

This method works fine. The project file looks now a little bit strange,
I got a base project file which includes basically to project files:

- - odbbase
  builds all the basic libraries and the preprocessor data datamodelling

- - libsupport
  builds all the support components after the preprocessor has been
  executed.

This gives me withing GPS access to all source files.

The actual makefile looks like this:

all:
        gnatmake -P./odbbase
        $(MAKE)  -C./support
        gnatmake -P./libsupport

The makefile in ./support does the preprocessor runs.

Looks a little bit artificial; but lets for my further experiences ...

> 
> Arno
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFhRSq9DXgz96/ddIRAlHRAJ9ctAhC7yu1HRdMcLsTCs8cH/sjDACeKruY
QJPGHQ3KD31YEY3FUQ+iPvA=
=hRGk
-----END PGP SIGNATURE-----


More information about the gps-users mailing list