Boost logo

Boost-Build :

From: Vaclav Vesely (gclbb-jamboost_at_[hidden])
Date: 2003-05-01 15:42:44


Rene Rivera wrote:
> [2003-05-01] Vaclav Vesely wrote:
>
> >It's possible to obtain the name of the root project directory in the
> >"Jamrules" file?
> >
>
> Step 1 find the project root location, In BBV1 I do:
>
> PROJECT_ROOT = [ find-to-root [ PWD } : $(JAMRULES) ] ;
> PROJECT_ROOT = $(PROJECT_ROOT:D) ;
>
> In BBV2 you can do the simpler:
>
> PROJECT_ROOT = [ project-root get-location ];
>
> (If I remember correctly you can do that last one in any context, project
or
> project root)

Perfect. Thank you,
w

 


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