Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - windows - dll
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-11-26 03:51:40


[please don't top post]

Anant Rao wrote:
> Sorry Steve. That didn't help. It still generates an archive.

I'm positive Steven is right (which should come as no surprise). The
following should work and generate a shared library:

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

Perhaps you're seeing the import library being generated - e.g.
"libParser.lib"? If you are still having problems, repost your exact
relevant jamfile contents and the build output.

Regards / Johan


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