Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-08-25 07:56:18


Paul Hamilton <paul_at_[hidden]> writes:

> I love bjam, but still find that I am caught up with a lot of my old
> "make" knowledge that doesn't seem to apply.
>
> In a make file, I could have this:
>
> moc_widgets.cpp: $(MOC) widgets.h
> $(MOC) widgets.h -o moc_widgets.cpp
>
> Which would run "$(MOC)", outputting the file called
> "moc_widgets.cpp", which I could then include in another rule to build
> an exe etc.
>
> What is the bjam equivalent of this?
>
> I took a look at "UserObject", but implies that I need a special
> extension for my "mocable" file (which isn't the case).
>
> Paul.

Paul,

please bring Boost.Build questions to the appropriate list
(http://www.boost.org/mailing_lists.htm#jamboost).

Thanks,

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk