I am writing a small program using boost/program_options to process parameters from the command line. Now I want to distribute my code on systems where Boost is not installed at all. Therefore, I used the bcp utility. I tried this with a Boost example/first.cpp called example/first.cpp from the program_options tutorial :
bcp --scan --boost=/users2/xxx/boost_1_45_0 ~/prova/first.cpp dest
Creates a dest directory with tons of .hpp and .cpp files. I suppose this is what I need, and no more. Right? Because:
du -hs dest 37M dest
Is it too 37M? For example, I can do the same using Python with test_optparse.py with only test_optparse.py .
Am I doing something wrong? The fact is that my source program is only 4 MB; I canβt add 37 MB of third-party stuff !!
source share