Boost logo

Boost-Build :

Subject: Re: [Boost-build] tracing weird dependecies
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-05-09 13:47:19


AMDG

On 05/08/2011 04:54 PM, Patrick Hoffmann wrote:
> in a C++ project I got some problems with dependencies which I do not
> understand. When I changed some header bjam rebuilds some files which do
> NOT include this header directly or indirectly.
>
> The suspect is our QT-MOC-mechanism which pre-compiles some
> dialog/window class code. Don't know if this is a known problem.
>
> But what I really like to know from you guys is, if there is a
> possibility to trace the dependency of a specific file. I tried some -d
> option-magic but this gives me over 1 GB of output which I was not able
> to handle yet.
>

I use -d+12 and then search for the file name.

> What I would like to have is either a possibility to get the concrete
> dependencies for one specific file which leads bjam to rebuild that file
> or in other words why - for example - file "a.cpp" depends on header
> "b.hpp".
>

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