Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - windows - dll
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-25 19:57:34


AMDG

Anant Rao wrote:
> 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.
>

Remove the extra colon between <define>... and <link>...
All the requirements for the target should go together.

In Christ,
Steven Watanabe


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