Andrey Semashev wrote: On 12/18/18 9:09 PM, Peter Dimov via Boost wrote:
These configuration files enable a Boost installation to be used from CMake via `find_package(boost_filesystem)`, without relying on FindBoost.
Does this remove the necessity of the CMakeLists.txt files that were added recently to multiple libraries?
No, it's a separate thing. These configuration files are installed as part of issuing `b2 install` from a release. So you get the headers in /usr/local/include, the libraries in /usr/local/lib, and the configuration files in /usr/local/lib/cmake (assuming the default prefix of /usr/local/). This Boost installation is then used from CMake via find_package like f.ex. https://github.com/boostorg/boost_install/blob/develop/.travis.yml#L59 https://github.com/boostorg/boost_install/blob/develop/test/filesystem/CMake... The CMakeLists.txt files, on the other hand, are used with a different workflow; you download/submodule the libraries from Github into subdirectories of your project, and then use them from CMake with add_subdirectory. Like f.ex. https://github.com/boostorg/mp11/blob/develop/.travis.yml#L248 https://github.com/boostorg/mp11/blob/develop/test/cmake_subdir_test/CMakeLi...