$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-09-05 11:25:26
Patrick Frants <gclbb-jamboost_at_[hidden]> wrote in
news:Xns9280B99D85Apatrickquintiqcom_at_0.0.0.2:
> Now it correctly inherites all settings! But the includedir is wrong,
> notice -I"..\..\IncludeDir". Somehow the $(SUBDIR) is expanded
> incorrectly.
I found a workaround. In the project root Jamfile I use
PWDDIR = [ PWD ] ;
and in the template <include>$(PWDDIR)/IncludeDir. In my opinion bjam should
be fixed to also work the intuitive way: <include>$(SUBDIR)/Include.
Patrick