|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-07 03:55:03
On Sunday 05 March 2006 20:10, Phillip Seaver wrote:
> I've got this so far in my jamfile:
>
> exe dftables : dftables.c ;
> make chartables.c : : dftables : <dependency>dftables ;
> actions dftables
> {
> dftables $(<)
> }
>
> It works except that the dftables program isn't in the path. How would
> I get the path for the program in there? Using a generator seems like
> overkill because it's only done in one place on one file.
The simple way is just:
exe dftables : dftables.c ;
make chartables.c : dftables : dftables ;
actions dftables
{
$(>) $(<)
}
That is, get the executable into the list of sources for your 'make' rule
invocation.
HTH,
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