c++boostheader-files

Dealing with the huge number of Boost header files


Is there a way to drastically reduce the number of header files needed for Boost?

Ideally, I'm asking the Boost folks to find a way to make their product smaller. But in the meantime, is there a way to include Boost, but not have several thousand header files to deal with?

Is there a C++ mechanism to "bundle" thousands of header files into a single "package" and just check that single file into source control?

I guess the problem here is source control Doing a diff, svn status and svn checkout is so slow with all these files to deal with.


Solution

  • Boost offers a tool called BCP. BCP allows you to extract subsets of Boost.

    It can also analyze your source tree and extract only the Boost components that your source tree is using.