On 19 June 2017 at 22:38, paul via Boost
Actually, you might be interested in this cmake file:
https://github.com/pfultz2/cget/blob/master/cget/cmake/boost.cmake
You can drop this in the top-level boost directroy and rename it to 'CMakeLists.txt', and it will under-the-hood generate a user-config.jam file with the setting from the cmake toolchain, and then build boost using this user-config.jam file.
It looks like this a number of caveats: * It doesn't import any of the targets generated by the boost project. Ideally they should be imported along with their usage requirements. * It doesn't deal with the dependencies of Boost libraries, be it where to find libc and libstdc++ (important when cross-compiling) or libz, python and ICU. * It doesn't deal properly with compilation and link flags, though it tries to