Boost logo

Boost-Build :

From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-08-27 04:24:31


I am using templates to factor out common compiler options.

I have declared some templates in the Jamfile in the project root. When I
try to use them in a Jamfile in a subdirectory I don't get any errors, but
all the settings of the templates are lost. When I move the template
declarations to the Jamfile in the subdirectory there are no problems. How
can I avoid copying the templates to each of the Jamfiles in the

Are the paths declared in the template relative too the Jamfile that the
template is in or relative to the Jamfile the template is used in? In other
words is the template text copied flat from the template or not. I assume
the answer is the same for $(SUBDIR) etc. then.


Patrick Frants
Senior Software Engineer

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