Boost logo

Boost-Build :

From: Juergen Hunold (hunold_at_[hidden])
Date: 2006-05-17 15:34:59


Hi Volodya !

On Wednesday 17 May 2006 15:47, Vladimir Prus wrote:
> On Thursday 11 May 2006 01:30, Mark Evans wrote:

> > I found that in order for Jamfile (1) to propagate project
> > requirements to a Jamfile in a subdirectory, it must have
> > build-project statement for the subdirectory, i.e.,
> >
> > build-project subdir1 ;
> > build-project subdir2 ;
> > etc.
> >
> > Is this relevant to your situation? Any comments from experts?

Yes, I've encountered this before but had no time preparing a testcase.

> As usual: if you drop me an archived project reproducing this, I'll
> fix the problem.

Please find a similar case attached.

Explanation:
We've tried some alternative directory structure.
I've got
ROOT/src/lib1
ROOT/src/apps
ROOT/src/apps/main.

We'd then have ROOT/docs and ROOT/setup or whatever, does not matter
here. What matters is that I've put all "src" specific" options into
src/Jamfile.
Those options are pickup up when compiling in ROOT (see log1.txt) but
_not_ when compiling in ROOT/src (see log2.txt)
The same effect occurs when building from src/apps/main subdirectory.

I hope this helps.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57  ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99  ! Lister Straße 15
* hunold_at_[hidden]          ! www.ive-mbh.de







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