|
Boost-Build : |
Subject: Re: [Boost-build] bjam - windows - dll
From: Anant Rao (arao_at_[hidden])
Date: 2009-11-25 19:59:27
Sorry Steve. That didn't help. It still generates an archive.
-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Wednesday, November 25, 2009 4:58 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] bjam - windows - dll
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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