Boost logo

Boost-Build :

From: David Abrahams (gclbb-jamboost_at_[hidden])
Date: 2003-06-09 09:04:34


Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> > Does that mean we can just add directory of importing module to the *end*
>> > of search path, and avoid the call to 'normalize-raw-paths' altogether?
>>
>> It depends what the adding of the directory is supposed to do. It
>> wasn't my idea in the first place and I wanted to change it as little
>> as possible.
>
> IIRC, the idea was that if you have
> "import my_custom_thing ; " in project-root.jam, it should work -- so the path
> of importing module must be in search path. Since it was never meant as a way
> to override standard modules, the path can be added at the end.

We probably ought to transition to an explicit specification of
subdirectory on imports pretty soon anyway.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.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