|
Boost-Build : |
Subject: Re: [Boost-build] How is a module found when using import
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-05-27 20:07:37
On 5/27/2013 7:04 PM, Steven Watanabe wrote:
> AMDG
>
> On 05/27/2013 03:52 PM, Edward Diener wrote:
>> If I write 'import somemodule ;' in a jamfile how is 'somemodule' found
>> ? I know 'somemodule' is just a jamfile called 'somemodule.jam' but how
>> does Boost build find it in o0rder to import it ?
>>
>
> It searches the directories in BOOST_BUILD_PATH.
I have no environment variable called BOOST_BUILD_PATH so there must be
an alternative. Also does it search in subdirectories ? I expect so.
>
>> If I wanted to contribute a new module to Boost build, how do I do it ?
>>
>
> It would go in tools/build/v2/tools with the
> other modules.
I see Boost build jamfiles in other places beneath tools/build/v2 :
tools/build/v2/build, tools/build/v2/util etc. So I am guessing that it
should be placed in tools/build/v2/tools but will be found elsewhere also.
> You can post it here for
> review.
Will do if/when I finish. Thanks !
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