Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-12-29 05:36:49


> I'd rather do something like this:
>
> #if defined(BOOST_BZIP2_BINARY)
> # define BOOST_LIB_NAME BOOST_BZIP2_BINARY
> # define BOOST_AUTO_LINK_NOMANGLE
> # include <boost/config/auto_link.hpp>
> #endif

Sounds reasonable to me, there's a first cut at this in mainline cvs now,
note that you don't specify a trailing ".lib" to the library name, so
something like:

#define BOOST_LIB_NAME zlib
#define BOOST_AUTO_LINK_NOMANGLE
# include <boost/config/auto_link.hpp>

would link to "zlib.lib".

John.


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