Boost logo

Boost :

From: Mike (mike.dev_at_[hidden])
Date: 2020-03-27 22:24:12


> Gesendet: Freitag, 27. März 2020 um 22:52 Uhr
> Von: "Mateusz Loskot via Boost" <boost_at_[hidden]>
>
> Hi,
>
> I'm learning about the boostorg/cmake infrastructure offered by Peter.
>
> I picked Boost.Array as a library with simple build setup.
> I replaced the existing (hand-rolled?) CMakeLists.txt files
> with the generated ones:
>
> b2 tools\boostdep\build
> dist\bin\boostdep.exe --cmake array
>
> Then, learning form boostorg/cmake itself how to use it
> https://github.com/boostorg/cmake/blob/develop/.travis.yml#L228
>
> 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

BoostArray is a header only library. What is that command supposed to build?


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