Boost logo

Boost Users :

Subject: Re: [Boost-users] BCP question
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-05-06 04:36:41


> I'm investigating BCP and have at least one question.
>
> When I use --list with BCP to generate a list of dependencies for the
> serialization library, I get among otherthings:
>
> ...
> boost/iterator.hpp
> boost/iterator/detail/config_def.hpp
> boost/iterator/detail/config_undef.hpp
> boost/iterator/detail/enable_if.hpp
> boost/iterator/detail/facade_iterator_category.hpp
> boost/iterator/filter_iterator.hpp
> boost/iterator/interoperable.hpp
> boost/iterator/iterator_adaptor.hpp
> boost/iterator/iterator_categories.hpp
> boost/iterator/iterator_facade.hpp
> boost/iterator/iterator_traits.hpp
> boost/iterator/transform_iterator.hpp
> ...
>
> The first one - boost/iterator.hpp - what I wonder about. I searched the
> files in used
> in the serialization library and I could find on direct usage of the
> convenience
> header "boost/iterator.hpp". I'm guess that this is a secondary
> dependency
> introduced by something I've included directly. So
>
> a) Is this a good guess?
> b) Is there an easy way of determining which of the things I'm including
> is including
> boost/iterator.hpp?

If you run bcp with the --report option it outputs it's dependency tree.

HTH, John.


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