Boost logo

Boost-Build :

From: Daniel Schlyder (daniel_at_[hidden])
Date: 2004-04-22 03:08:12


Hi,

I have the following files:

Jamfile
Jamrules
build/foo.jam
build/bar.jam

Jamfile requires rules defined in build/foo.jam, which in turn requires rules
defined in build/bar.jam. Currently, I'm import'ing both files in Jamrules, but
I'd like to instead import build/bar.jam in build/foo.jam, if it's possible to
do so only specifying path relative to build/foo.jam. I can't do

import build/bar.jam

because that would break if I decide to use the build/* files in another project
where I don't put them in a directory named "build" under project-root.

Is it possible?

Thanks,
Daniel Schlyder

 


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