Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - windows - dll
From: Anant Rao (arao_at_[hidden])
Date: 2009-11-27 18:53:41


Hi,

I'm attaching a zip file that contains 3 files:

user-config.jam
Jamroot
Jamfile

I genuinely tried to provide my question as simple as possible. In that process, I committed a typo, which I certainly understand leads to confusion. Sorry.

As I'm anyway sending all my bjam files, could you please also offer advice - in getting rid of code ugliness or make it more efficient?

Thanks a lot,
Anant Rao

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Wednesday, November 25, 2009 10:10 PM
To: boost-build_at_[hidden]
Subject: Re: [Boost-build] bjam - windows - dll

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

_______________________________________________
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