Boost logo

Boost-Build :

From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-02-11 08:06:53

Hi Vladimir,
  A lot of the jam/bb2 underpinnings is still just magic to me so please bear with me. With
  lib foo : : <name>foo <file>/somewhere/foo ;
  my naive expectation is for the system to understand that /somewhere/foo is a prebuilt library file ( but which subtype of LIB is not clear because of no suffix - is that the rub?). Could the lib rule be enhanced to understand something like:?
  lib foo : <name>foo <file>/somewhere/foo <type>SHARED_LIB ;
  Probably a dumb question but fools rush in. Thanks for your generous patience.
Vladimir Prus <ghost_at_[hidden]> wrote:> I'm foggy on why bb2 doesn't just tag such library s as

> and be happy if the file exists.

And, what will Boost.Build do with such file? If it has no idea what's the
type of the file, it has no idea if it can be linked into an executable.
Well, I can change generators code so that targets with unknown type are
silently consumed and passed on to the tool (like linker), but that seems
very fragile.

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