Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-31 09:59:05


Hi Jordan,

> In my top level Jamfile I define the following:
>
> lib mylib : : <name>myfile <search>somewhere <variant>debug
> lib mylib : : <name>myfile <search>elsewhere <variant>release
>
> but when I run bjam (v2 m10) I get an error about not being able to
> resolve multiple definitions.

I've just tried the following Jamfile with current CVS:

lib mylib : : <name>myfile <search>somewhere <variant>debug ;
lib mylib : : <name>myfile <search>elsewhere <variant>release ;

exe a : a.cpp mylib ;

and it works as expected:

gcc.link bin/gcc/debug/a

"g++" -L"somewhere" -o "bin/gcc/debug/a" "bin/gcc/debug/a.o"
-lmyfile -g

I suggest you get a CVS version of Boost.Build, or a nightly build (see
http://boost.org/boost-build2)

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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