|
Boost-Build : |
Subject: Re: [Boost-build] how to determine location of jamroot ?
From: Anatoly Shirokov (shirokov_a_at_[hidden])
Date: 2009-08-07 15:18:03
Thank you, Michael!
I want to use it in my generator. So I want to determine it using more
flexible way.
Michael Caisse пиÑеÑ:
> 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
>
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