Boost logo

Boost Users :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2006-04-02 05:44:07


"Mateusz £oskot" wrote:

> Today, I tried to extract smart pointers library from Boost tree using
> bcp tool.

> 3. I run bcp --cvs --list to see how many files are related to
> smart_ptr.hpp (and shared_ptr.hpp too).
>
> My only question is if this is normal that smart_ptr extraction weight
> is about 2.8MB ?
> Are there any options that can be used to make this package smaller?
>

bcp tool is very pessimistic and errs on safety side.

You may manually remove files that are not needed
by trial and error method (compilers/platforms/
possibly locking code/possibly preprocessor code).

However majority of these files just takes space on disk
and does not increase compilation time/runtime overhead
- the pruning may not be worth of the effort.

/Pavel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net