|
Boost-Build : |
Subject: [Boost-build] [Build] problem including jamfiles
From: Lee Winter (lee.j.i.winter_at_[hidden])
Date: 2009-04-21 21:24:12
Given a project tree like this:
top/
jamfile.jam # contains "include top.jam ;"
top.jam
sub/
jamfile.jam # contains "include sub,jam ;"
sub,jam
then in top/sub bjam complains there is no such file as top.jam.
Clearly the ancestral jamfiles are being processed in the directory in
which bjam is launched rather than in their respective directories.
1. Is this intentional? If so, what is the rationale?
2. Is there a work-around such that the parental jamfile can include
another file from its location?
Thanks for any clarification.
Lee Winter
NP Engineering
Nashua, New Hampshire
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