|
Boost-Build : |
Subject: Re: [Boost-build] [EXTERNAL] Re: Getting product dependencies from bjam
From: Mark E. Hamilton (mhamilt_at_[hidden])
Date: 2013-12-17 12:52:08
On 12/16/13 10:04, Vladimir Prus wrote:
> Hi Mark,
>
> one possibly way today would be to run "b2 --debug-building" and parse
> the output of that, which will print all projects
> and metatargets that the build system examines. Is that something like
> what you're after? The exact output can be improved
> if more details are needed.
Voloyda,
Thanks. I'm not sure what b2 is, however. It doesn't seem to exist in
our executable directory. Our bjam does have a --debug-building option;
it also produces a lot of data (302K lines) and and it's not clear what
to extract from it. I tried this as a first approach:
bjam -a -k -n --debug-building ... | egrep -o '[@%]Jamfile<[^>]*>' | sort -u
but only got the Jamfile for the targets I passed. The 'Building target'
lines look like they might have what I need in them (including one
project that the -d+12 output missed) but I'll have to experiment with
is more.
-- ---------------- Mark E. Hamilton Senior Member of Technical Staff Sandia National Laboratories 505-844-7666
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