Boost logo

Boost-Build :

Subject: [Boost-build] tracing weird dependecies
From: Patrick Hoffmann (p.hoffmann_at_[hidden])
Date: 2011-05-08 19:54:40

Hi all,

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.

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".

Can someone help?

Best regards, Patrick Hoffmann
Need privacy? Use my (new) PGP key:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at