CMake'ifying a Boost Jam project: check-target-builds

201 Views Asked by At

I'm trying to "De-boostify" one of the Boost libraries, which is more or less stand-alone anyway *.

Now, Boost uses its own Build System, B2, which uses "Jam files" for configuration; so I'm trying to migrate this library's Jam file into a CMakeLists.txt.

A construct I'm having trouble with is the check-target-builds command, used in the Jam file of the library I'm converting. I understand what its different operands mean, but what I don't understand is: How does B2 know how to configure the build of the first argument to check-target-builds? I mean, those targets are not defined anywhere. Is there some kind of default where B2 will look for a .cpp of the same name as the missing target? Or is it more complicated than that?


It is Antony Polukhin's wonderful stacktrace library; which gives you easy access to stacktraces, with names and line numbers and no hassle. My de-boostification efforts so far can be found here.

0

There are 0 best solutions below