Boost logo

Boost :

Subject: Re: [boost] [cmake] Pull request announcement
From: Alexander Grund (alexander.grund_at_[hidden])
Date: 2018-09-17 12:33:48


> 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.




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk