Boost logo

Boost-Build :

From: Daniel Einspanjer (deinspanjer_at_[hidden])
Date: 2006-03-05 18:35:07


"Phillip Seaver" <phil_at_[hidden]> wrote in message
news:440B1B78.5090609_at_apago.com...
> 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.

I'm not familiar with the make rule, but I did use the generator method
described in the BB wiki to use a built tool to transform something else.
Check this out and see if maybe you can translate it to your non-generator
case:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost.Build_V2/UsingBuiltTool

If you can figure out what you can pass to toolset.flags for a
generator.action then you should be able to bind the name of the tool to the
action and invoke the one built in your output tree.

HTH,


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