Boost logo

Boost-Build :

From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-09-05 10:51:58


Rene Rivera <grafik666_at_[hidden]> wrote in
news:20020905101656-r01010800-bfd6417c-0860-0108_at_12.100.89.43:

> [2002-09-04] Rene Rivera wrote:
>>[2002-09-04] Patrick Frants wrote:
>>Taking alook at it now...
>
> Well after looking at it I'm not sure what your problem is. Duplicating
> the example on my machine, with a minor change, seems to work for me. I
> get the "-I ../IncludeDir" in the build commands. The minor change is
> that instead of "<include>$(SUBDIR)IncludeDir" it should be
> "<include>$(SUBDIR)/IncludeDir", but both ways worked for me also.

I don't get that.

>
> Could you try and putting in this... in your Jamfiles to see what's
> going on...
>
> ECHO -- "$(SUBDIR)" -- ;
>
> If that ever prints out: "-- --", then that means the SUBDIR is getting
> set to empty, which would cause problems. For me in the project root it
> prints "-- . --" and in the subdir "-- .. --".

That works ok.

I think the real problem is that on my system with boost 1.28 (As supplied
on the website), The instantiation of the template in SubDir does not
inherit *any* of the settings from the template in the project root! If we
could fix that problem first, then maybe I automatically get the -I
../IncludeDir automatically.

Patrick

 


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