[CMake] [cmake-developers] [PATCH] FindBoost does not detect absence of header file

rleigh at codelibre.net rleigh at codelibre.net
Wed May 11 15:43:41 EDT 2016


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.


Regards,
Roger


More information about the CMake mailing list