Boost logo

Boost-Build :

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


Hi,

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
subdirectories?

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

-- 
Patrick Frants
Senior Software Engineer
Quintiq
mailto:patrick_at_[hidden]
www.quintiq.com
 

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