[cmake-developers] [PATCH] FindBoost does not detect absence of header file
Roger Leigh
rleigh at codelibre.net
Thu May 12 15:49:44 EDT 2016
On 11/05/2016 19:43, rleigh at codelibre.net wrote:
> On 2016-05-11 19:30, Chuck Atkins wrote:
>> I guess it doesn't really matter but for the libraries that don't have
>> a single include header, should you be using these instead:
>>
>> * container/container_fwd.hpp
>> * exception/all.hpp
>> * filesystem.hpp
>> * math_fwd.hpp (instead of math/quaternion.hpp)
>> * system/config.hpp
>> * type_erasure/config.hpp
>>
>> They're "common" or "central" headers for the libraries instead of
>> specific headers.
>
> Thanks for taking a look and making the suggestions. I'll certainly
> update some of these. However, note that for some of these (e.g.
> exception, filesystem), that common header didn't exist in earlier
> releases and so was deliberately not used; in these cases I picked a
> common header which is present in *all* Boost releases, back to 1.33
> except for components which were introduced in later releases.
> filesystem.hpp was introduced after the initial release with filesytem,
> likewise exception/all.hpp for exception.
I have made the suggested changes above where this was possible, and
merged the boost-component-headers branch into next for testing.
Regards,
Roger
More information about the cmake-developers
mailing list