|
Boost-Build : |
Subject: Re: [Boost-build] Building library with flex/bison inputs with dependencies
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-12-02 11:43:28
AMDG
On 12/02/2015 09:21 AM, Jim Hague wrote:
> I'm checking dependencies by running '-d +12' and examining the output. I see
> a dependency for the .o on what I assume is the c-scanner output:
>
> -> 2 Name: <pbin/gcc-4.4/debug/link-static/threading-multi>e2kmaplex.o
> Loc: bin/gcc-4.4/debug/link-static/threading-multi/e2kmaplex.o
> : Updating it
> : Depends on bin/gcc-4.4/debug/link-static/threading-multi (stable)
> : Depends on <pbin/gcc-4.4/debug/link-static/threading-multi-
> object(c-scanner)@5027>e2kmaplex.cpp (update) (max time)
>
> But c-scanner/e2kmaplex.cpp is given as depending only e2kmaplex.cpp and
> e2kmaplex.ll. I never see a dependency in the logs on the .hpp. Likewise when
> I update the entire Boost.Build tree used to current git head. Should I expect
> to see the header dependency in the logs?
>
You should not see the dependency in
a clean build, because the -d+12 dependency
graph is printed before the cpp file
is created. The dependency should
appear if the cpp file already exists.
In Christ,
Steven Watanabe
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