
On Tue, May 6, 2025 at 4:04 PM Artyom Beilis via Boost < boost@lists.boost.org> wrote:
And finding each of them in CMake is virtually two lines (header, library) and I rarely use FindXXX with exception of some complex stuff (ironically boost python)
CMake does indeed have a really good support for finding & using external dependencies. But it has it at a rather large cost. My approach over the years has been to solve that problem for all build systems and package managers through interop standards. And since I have limited time means that other solutions for B2 specifically have not been followed on. But also recently I've implemented support in B2 that is a step towards easier use of external libs. Now typically under windows you have two Debug and Release runtimes
There's also RelWithDebInfo and MinSizeRel.
because they are ABI incompatible (not going to why they did such a dreadful decision - but it is another topic)
You might as well start assuming that everything is ABI incompatible if you want to prepare yourself for hardened std's. So I do understand practicality of Boost Build bjam for Boost itself
(as long as you don't need any 3rd party) but I find it rather unpractical for outside of the Boost crib
Understand. -- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supongas Nada -- Robot Dreams - http://robot-dreams.net