Boost logo

Boost-Build :

Subject: Re: [Boost-build] dll-path property order
From: Renaud Lepere (Renaud.Lepere_at_[hidden])
Date: 2009-05-14 08:13: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\dummy
> > .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%

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