I'm writing a small program using boost/program_options
to handle options from command line. Now I want to distribute my code to systems where in general Boost is not installed. So I used the bcp
utility. I tried it on the example from Boost called example/first.cpp
from the program_options tutorial:
bcp --scan --boost=/users2/xxx/boost_1_45_0 ~/prova/first.cpp dest
It create a directory dest
with tons of .hpp
and .cpp
files. I suppose this is what I need and no more. Is is right? Because:
du -hs dest
37M dest
Isn't 37M too much? For example I can do the same thing using Python with test_optparse.py
with only 61KB.
Am I doing something wrong? The point is that my source program is only 4MB; I can't add 37MB of third party stuff!!