So I wanted to separate out just the smart pointers from boost to use in my project and I was guided to use bcp
utility.
Today I got it compiled and did bcp smart_ptr to_copy_to_my_project/
.
The result: 6MB of code in to_copy_to_my_project/
directory.
Are you kidding me? I don't want to add 6MB of header files to my 100KB project just to use smart pointers.
For example, it copies the following win32 stuff (I am on Linux):
Copying file: boost/thread/win32/basic_timed_mutex.hpp
Copying file: boost/thread/win32/condition_variable.hpp
Copying file: boost/thread/win32/interlocked_read.hpp
Why would it copy win32 stuff with smart_ptr when I am on Linux?
Also:
Copying file: boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp
...
Copying file: boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp
...
Copying file: boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp
And:
Copying file: boost/date_time/adjust_functors.hpp
Why does smart_ptr depend on date_time?
Also what about all these tests that it copied over:
Copying file: libs/smart_ptr/test/allocate_shared_esft_test.cpp
...
I don't need any of it! I just need smart_ptr!
Did I do something wrong? Why did it copy 6MB of code just for the smart pointers, which I would expect to be 10KB or 20KB...
Thanks, Boda Cydo.