Boost logo

Boost-Build :

Subject: [Boost-build] relative paths in subprojects
From: å×ÇÅÎÉÊ ûÕÂÉÎ (shubin_evgeniy_at_[hidden])
Date: 2011-03-04 04:33:21


I have a hierarchic structure in my project:
project
|__Jamroot
|__subproject1
|____Jamfile
|____...
|__subproject2
|____Jamfile
|____...
|__subproject3
|____Jamfile
|____...
|__...
.

When I run bjam in toplevel project, "path.pwd" in Jamfiles of subprojects shows me that current directory is path where i have run bjam.

So, all relative paths in Jamfiles are invalid. They are only valid, when bjam is run in subproject`s directory.

Is there any way to use relative paths in such manner?


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