Boost logo

Boost :

From: Simon Hammett (div0_at_[hidden])
Date: 2008-02-26 04:04:29


On 26/02/2008, Robert Dailey <rcdailey_at_[hidden]> wrote:
> On Mon, Feb 25, 2008 at 7:00 PM, Stefan Seefeld <seefeld_at_[hidden]>
> wrote:
> >
>
> > I'm not sure you would find help in any particular file.
> >
> > However, the problem does sound rather simple: you want to build an
> > executable when you actually build a library. That sounds like a pretty
> > simple but fundamental setting in your project file.
>
>
>
> I think I see where you're confused. What I meant to say from the very
> beginning is that I DO build an executable, however the linker ALSO outputs
> a .LIB file. In my project settings I have it setup to build an application
> (EXE), not a library! When I comment out the BOOST_PYTHON_MODULE() code, the
> library is no longer generated.

The boost python module code creates exports in your program.
The ms linker will always generate a lib file for any dll/exe with exports.
There is no option (at least in .net 2003) to not generate the .lib


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk