Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-09 09:13:22


David Abrahams wrote:
> 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.

That's up to you. I've moved some stuff to "tools" but left "util"/"core"
separation to you and Ali.

But anyway: we've got to allow plain imports without directory in
'project-root.jam' so adding binding of including module to search paths will
still be needed. But 'normalize-raw-path' won't be needed in that case.

- Volodya

 


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