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

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



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at