Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-07-12 08:17:43


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

Hi !

I'm trying to improve the support of qt's moc in V2.
Right now, qt.jam can convert a.h -> moc_a.cpp -> moc_a.o
(Way 1)
This is enough for most of us.
Unfortunately, the moc has one other way.
This is to to convert
b.cpp -> b.moc
and in b.cpp
#include "b.moc"
if b.cpp contains the famous "Q_OBJECT" makro.
(Way 2)
This is the way the Qt Library handles private implementations, *sigh*
And I'd like to have V2 Jamfiles for the upcoming Qt4 ;-))

So, I'm searching for a way to tell V2 that it should
a) check b.cpp for the Q_OBJECT makro.
b) run the moc if the search returns true.
c) before b.cpp is compiled.

It would be great if I could check the headers from Way 1, too.
This would make the life easier.

It think for a) I need some kind of scanner, right ?

Any help or ideas appreciated.

Yours,

Jürgen

- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8o93ljbJ/LLrxrYRAjPiAJ9LwKnbd6QsWxpoGx/TUks2Tj6jcQCg06Y8
gv/aU0Qos1ERsXqA23/i8XI=
=qS0+
-----END PGP SIGNATURE-----

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk