Boost logo

Boost-Build :

Subject: Re: [Boost-build] dll-path property order
From: Renaud Lepere (Renaud.Lepere_at_[hidden])
Date: 2009-05-15 04:00:12


> >> > I have a problem with the <dll-path> property. I can have
> >> dll modules
> >> > either under ../build/bin or under ../bin, but i prefer to
> >> find them in build/bin.
> >> >
> >> > unit-test dummy : dummy.cpp : <dll-path>../build/bin
> >> <dll-path>../bin
> >> > <dll-path>../aaa <dll-path>../zzz ;
> >> >
> >> > But when i run with -d+2 , i got :
> >> >
> >> > testing.unit-test
> >> >
> >>
> ..\build\Jam\ano\msvc-8.0\debug\address-model-32\threading-multi\dumm
> >> y
> >> > .passed
> >> >
> >> > set PATH=..\aaa;..\bin;..\build\bin;..\zzz;%PATH%
> >> > ....
> >> >
> >> > Apparently the are sorted according to lexicographic order,
> >> is there a way to solve my problem ?
> >>
> >> Does
> >>
> >>
> http://www.boost.org/boost-build2/doc/html/bbv2/faq/s04.html
> >>
> >> help?
> >>
> >
> >
> > Not completely, the order is preserved but the "&&" is also
> preserved...
> >
> > with ..
> > unit-test dummy : dummy.cpp : <dll-path>../build/bin&&../bin ; and
> > bjam -d+2 i got set PATH=..\build\bin&&..\bin;%PATH%
>
> Uhm. What version of Boost.Build are you using -- exactly?

I tried this morning with Boost.Jam 03.1.17 and i checkout bbv2 from
trunk/tools/build/v2, but i still have the problem.

In testing.jam there is this line,
    local dll-paths = [ feature.get-values <dll-path> : $(properties) ] ;
dll-paths is equal to "../build/bin&&../bin" should i split the string
here, or this should be done somewhere else ?

Thanks,

Renaud


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