Boost logo

Boost Users :

Subject: Re: [Boost-users] Cutting headers
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-05-09 16:14:41

On 5/8/17 10:44 PM, Igor Mironchik via Boost-users wrote:
> Hello,
> How can I cut specific library from Boost, if, for example, I don't want
> to place all Boost but only one library from Boost?
> Is it possible?

I do this all the time. I just import specific headers and link to the
particular libraries.

The only issue that arises is that some boost libraries use other boost
libraries so I have to add some other headers/libraries to the
application working set. We have tools for determining these secondary
dependencies but for some specific technical reasons they aren't
perfect. I just work out the dependencies by hand. It's a simple one
time procedure that just consists in building the app adding missing
pieces until it builds to completion.

Robert Ramey

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at