Boost logo

Boost :

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


On Mon, 30 Mar 2020 at 10:24, Alexander Grund via Boost
<boost_at_[hidden]> wrote:
>
> > cd BOOST_ROOT
> > mkdir __build__ && cd __build__
> > cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=ON
> > -DBOOST_INCLUDE_LIBRARIES=array ..
> > cmake --build .
> > ctest --output-on-failure -R boost_array
> >
> > Visual Studio solution is nicely generated, all expected .vcxproj files too,
> > but, AFAICT, neither the last two commands nor these do anything:
> >
> > cmake --build . --config Release
> > cmake --build . --config Debug
>
> FWIW: These commands are incomplete. The correct CMake template workflow is:
>
> mkdir __build__ && cd __build__
> cmake -DCMAKE_BUILD_TYPE=Debug ..

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

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