Boost logo

Boost-Build :

From: Jordan Rosenthal (jr_at_[hidden])
Date: 2005-05-26 11:21:22


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 also tried

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

but I get the same error.

Any idea what I am doing wrong? I hope what I'm trying to do is
obvious: I'd like to use two libraries with the same name, but taken
from different locations depending on whether I need the debug or
release variant.




Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at