Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-03-26 06:01:05


> Reading http://www.boost.org/more/separate_compilation.html
> I see suggestion that all library sources start with:
>
> #define BOOST_WHATEVER_SOURCE
> #include <boost/whatever.hpp>
>
> Is there any particular reason why this define should be placed in source,
and
> not in Jamfile for the library? E.g:
>
> dll boost_program_options : ...some sources...
> : <define>BOOST_PROGRAM_OPTIONS_SOURCE
> .....
> ;

None, except that the user may sometimes want to build from their IDE rather
than bjam.

John.


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