On Wed, Jan 24, 2024 at 7:32 PM Peter Dimov via Boost
Interestingly, compiled libraries are in a way more convenient under CMake.
It is nice when a library makes it easy for you to write your own build script. The "src.cpp" (including everything) model had that going for it. For simple libraries it is almost possible to just compile all files in src/*.cpp recursively. Except for the macro such as (for example) BOOST_URLS_SOURCE. This is needed to set the DLL import/export macros correctly. But maybe this could be added at the top of each cpp file: #define BOOST_URLS_SOURCE Then this could be taken out of the build script and it would be easier for users to write their own build script. I haven't thought this through completely so there could be a flaw in it. Also, libraries that have very complicated build scripts such as the need to set even more macros or provide a bunch of configurations, would be harder for users to write build scripts for. Thanks