17 Sep
2018
17 Sep
'18
1 p.m.
On Mon, Sep 17, 2018, 7:33 AM Alexander Grund
Yes this is not as straight forward as it could be, but neither is the
way in bjam: You need to call some macro/function/... and that does the magic.
Ha?
=== compile-fail my_test.cpp ; ===
And compile-fail is a function, right? Same for CMake: `add_failing_compile_test(my_test.cpp)` (change the name to your liking) and that needs to be implemented. Probably 2-fold: One general, boost-wide version and 1 per library which e.g. automatically links against that library.
Yes, and it's built-in to b2. Something which the cmake/test developers are seemingly unwilling to add. Which was the original point of this thread branch.