Boost logo

Boost-Build :

Subject: Re: [Boost-build] how to determine location of jamroot ?
From: Michael Caisse (boost_at_[hidden])
Date: 2009-08-07 13:13:33


Anatoly Shirokov wrote:
> Hi All!
>
> I want to use location of jamroot in my generator. What is correct way
> to determine it?
>
> Thanks in advance,
> Anatoly.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

Anatoly -

This is what I do. In my Jamroot file I have a line:

----------------------

path-constant TOP : . ;
----------------------

In my Jamfiles I simply use $(TOP) for the location.

Michael

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.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