Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-04-04 11:14:57


On Wednesday 04 April 2007 18:49, Hassan Mehmet wrote:

> If I rename A.H to A.hpp and add a dependency on qt then it will generate the
> moc file ok. The alias now looks like this
>
> alias my-sources : A.cpp A.hpp : <dependency>/qt3//qt ;
>
>
> However this is not a solution for me (too many files and too many #include
> statements), so the new question is .....
>
> How can I extend qt3 to recognise .H files as valid inputs to moc ?

Go to tools/builtin.jam and modify the

        type.register HPP : hpp : H ;

to read:

        type.register HPP : hpp H : H ;

This is hacky, but I presume you rather make progress on your project ;-)

- Volodya


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