Boost logo

Boost-Build :

From: John Maddock (john_at_[hidden])
Date: 2005-08-01 12:36:01

>Recently, I've tried to build some application that uses
>on windows. The build failed, attempting to auto-link to the
>This clearly should not happen -- if I use Boost.Build to link to a
>I don't want autolinking at the same time. So, I've added
><define>BOOST_PROGRAM_OPTIONS_NO_LIB to the usage-requirements of
>program_options target.
>1. Should we add the same to all other libraries in Boost?
>2. Should we just add BOOST_ALL_NO_LIB as top-level usage-requirement?

Yikes that sounds to me like a terrible "fix", we've found several bugs in
the past when the auto-link and link options didn't match up,
and that's the point, they should match up and be in synch. If they're not
then the autolink code is useless. As long as Boost.Build mangles the
library file names in the same way as the autolink code expects (which is
how we document the mangling scheme used by Boost.Build as well at least for
v1), then no fixes like this should be necessary. So, do the library file
names match up with what autolink expects, and if not why not?



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at