Boost logo

Boost Users :

Subject: Re: [Boost-users] Including only the needed boost headers.
From: John Maddock (john_at_[hidden])
Date: 2009-12-10 11:25:46


> Is there a way I can share this code with them without forcing them to
> install boost on there PCs?
> I am only using a very very small portion of the boost library so I think
> it
> would be overkill to make everyone install boost.

You could use bcp to extrac a subset of Boost:
http://www.boost.org/doc/libs/1_41_0/tools/bcp/bcp.html

> Can I create a DLL or library to solve this?

Sure, but you would need to hide all the Boost API's that you're using
behind your own facade to avoid distributing the Boost headers.

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net