Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-03-07 11:24:35


Vladimir Prus wrote:
> On Sunday 05 March 2006 20:10, Phillip Seaver wrote:
>
> 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.
That works perfectly -- thanks! Now I'm running into another problem. :-}

I also have this:

    lib pcre
        : get.c maketables.c pcre.c study.c
        : <implicit-dependency>chartables.c
        :
        : <include>.
    ;

It doesn't add the directory for chartables.c to the list of includes.
Is implicit-dependency broken?

As an aside, I noticed that it puts the path of the source file (in this
case "..\..\misc\pcre\pcre.c") relative to the directory of build.jam in
the rsp file, even though it's in the same directory. Just curious.

Thanks again,

Phillip


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