|
Boost-Build : |
Subject: Re: [Boost-build] [EXTERNAL] Re: Getting product dependencies from bjam
From: Vladimir Prus (ghost_at_[hidden])
Date: 2013-12-18 03:13:33
On 17.12.2013 21:52, Mark E. Hamilton wrote:
> 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.
Mark,
'b2' is the current name of the executable.
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.
I suspect you might want to collect a list of all targets that are projects, or their directory paths?
- Volodya
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