Boost logo

Boost-Build :

Subject: Re: [Boost-build] [EXTERNAL] Re: Getting product dependencies from bjam
From: Mark E. Hamilton (mhamilt_at_[hidden])
Date: 2013-12-18 11:23:14


Voloyda,

On 12/18/13 01:13, Vladimir Prus wrote:
> Mark,
>
> 'b2' is the current name of the executable.

Thanks. Someone else let me know that privately. We're rather far
behind, unfortunately. Upgrading will be a challange since we don't seem
to have a baseline version to begin merging from. That's a task on my
to-do list for next year, I'm afraid.

> I suspect you might want to collect a list of all targets that are
> projects, or their directory paths?

Having done some experimentation yes, that is what I need. (It would
also be great if it could do so without doing all of the file time
checks, which makes it take longer than it should.) What's the best way
of identifying the project targets? What I've been testing is this :

bjam -a -k -n --debug-building ... some_target |
sed -n -e "/.*Building target/s|^.*Building target
'\(${root}/Nbtools/[^/>]*\).*'$|\1|p"

which seems to work, I'm just not comfortable that I'm extracting the
correct lines.

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