Boost logo

Boost :

From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2020-03-30 09:20:11


On Mon, 30 Mar 2020 at 11:15, Alexander Grund via Boost
<boost_at_[hidden]> wrote:
>
> > AFAIK, this is not necessary for multi-configuration generators.
> > Here I used VS.
> >
> >> cmake --build . --config Debug
> >> ctest --output-on-failure -C Debug
> > Yes, I did present those, in the second part of my post
> > https://lists.boost.org/Archives/boost/2020/03/248533.php
>
> You wrote "Interestingly, if I feed the ctest with the build
> configuration, [...]"
>
> Hence my answer for a "CMake template workflow", aka a workflow that
> works everywhere independent of the generator. So no surprises and you
> did seem surprised.

Correct, as I did expect `cmake --build .` to build all tests for the Debug
configuration, which is the VS default.

> I'm not even sure what `cmake --build .` is supposed to do for
> multi-config generators. I'd expect it to error out.

or that, yes.

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

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