Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-04-13 17:06:33

sijuju2001 wrote:

> I was experimenting with the <find-library> command under bjam v1
> 3.1.9 and there appears to be an inconsistency in the way it operates
> with a msvc-like compiler (TOOLS=msvc or TOOLS=vc7).
> The problem seems to be the following:
> 1. Static libraries are built with the default "lib" extension.
> 2. However, <find-library> does not look for libraries which have a
> lib* extension.


Yep, I can see the problem :-(

> Can you suggest what the "proper" way is to solve this? At the moment
> the only thing I can think of doing is adding some kind of
> LIBRARY_PREFIX whose value depends on the toolset type.

One way to add toolset specific options is to use toolset specific requirements...

exe simple2

It's a kludge, because you have to add that for each toolset, but does work ;-)

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/ - 102708583/icq

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