Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2006-09-21 13:14:38


On Sep 21, 2006, at 6:22 AM, Phillip Seaver wrote:

> The "make" rule above has "bin2c_run", which tells bb to use those
> commands for creating Splash.h. All you have to do is reference the
> target of the make rule. In my case, I use
> <implicit-dependency>Splash.h on the exe rule that includes it. If
> you're generating a source file, you would just add it to the
> sources of
> the target that uses it.
>
> exe gen_c : gen_c.c ;
> make foo.c : gen_c gen_c_source.x : gen_c_run ;
> actions gen_c_run
> {
> $(>[1]) $(>[2-]) $(<)
> }
> exe use_c : use_c.c foo.c ;

Hi Phillip,

Okay, I had a mental block. I didn't realize the make you refer to
is the make.jam in the v2/tools directory, I thought it was a rule
you wrote. Now that I've looked at make.jam, I understand completely
what you're saying. Thanks for taking the time to explain it to me,
that helps a lot.

-- Noel


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