Boost logo

Boost-Build :

Subject: [Boost-build] bjam - windows - dll
From: Anant Rao (arao_at_[hidden])
Date: 2009-11-25 19:55:51


Hi,

I have a rule like this:

lib libParser
:
File1.cpp
File2.cpp
: <define>$(DEFINES)
: <link>shared
;

This works fine on Linux i.e., it generates a .so.
However, on Windows, it generates just an archive:

...updating 1 target...
msvc.archive bin\msvc-8.0\release\link-static\threading-multi\libParserProcessor.lib
...updated 1 target...

How can I have bjam generate a DLL on Windows instead of an archive.

Thanks,
Anant Rao

Ps: Forgot to add how I'm invoking bjam, which is

bjam release link=shared runtime-link=shared



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