1

I want to use Boost.Xpressive in my C++ homework, and contain it in my source. But the whole boost header file is 70MB+, so is there any standalone xpressive distribution that contains only dependent files?

Siyuan Ren
  • 7,573
  • 6
  • 47
  • 61

1 Answers1

3

Use bcp. http://www.boost.org/tools/bcp/index.html.

it allows you to pull a header and all of its dependencies into a separate directory. Which will be much smaller than the whole boost library!

I don't know specifically, but the command line you are looking for is probably something like this:

bcp xpressive /foo
ildjarn
  • 62,044
  • 9
  • 127
  • 211
Evan Teran
  • 87,561
  • 32
  • 179
  • 238
  • how to build bcp? I found an answer on http://stackoverflow.com/questions/440585/building-boost-bcp, but I didn't find a /tools/jam/ folder under Boost directory. – Siyuan Ren Aug 18 '11 at 16:15
  • Good question. As far as I can tell, it may just be a matter of running `bjam` in the tools subdirectory of the boost source. – Evan Teran Aug 18 '11 at 17:11