Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - windows - dll
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-26 01:10:08


Anant Rao wrote:

> 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.

Please provide a complete project reproducing the problem -- as zip archive. As it stands, you
have shown definition of 'libParser' metatarget, and is asking why 'libParserProcessor' is
built statically, but the definition of 'libParserProcessor' is nowhere to be seen.

- Volodya


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