|
Boost : |
Subject: Re: [boost] [cmake] Pull request announcement
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2018-09-17 13:00:48
On Mon, Sep 17, 2018, 7:33 AM Alexander Grund <alexander.grund_at_[hidden]>
wrote:
>
> 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.
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk