Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-14 10:28:37


On Sunday 12 June 2005 14:54, David Abrahams wrote:
> The following Jamroot says, "wherever you found the build system, the
> Boost root directory is 5 directories up from there." Note the funky
> way I went up 5 directories. Hmm, now I feel dumb; probably appending
> /../../../../.. would have worked, right?

I'd expect so, can you try.

> Still, peeking for
> .bootstrap-file seems a little kludgey...

Essentually, you want a 'get-real-boost-build-root' rule somewhere, right?

> Okay, here's another. This rule is a common rule meant to be called
> from a Jamfile. Note the extensive use of backtrace and peeking into
> other modules in order to do simple things like access path variables
> and declare targets!

I'll look and comment on this tomorrow.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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