![]() |
Boost : |
From: Christian Mazakas (christian.mazakas_at_[hidden])
Date: 2025-05-22 17:03:02
On Thu, May 22, 2025 at 8:47â¯AM Peter Dimov via Boost <boost_at_[hidden]>
wrote:
> Vinnie Falco wrote:
> > Although it is not a requirement, I do wish more libraries submitted for
> review
> > had these additions to the CMakeLists.txt as my skills at compiling and
> running
> > things outside of Visual Studio are incredibly limited (or rather,
> non-existent).
>
> Or not. I don't think we should uglify all our CMakeLists.txt files beyond
> recognition for the benefit of exactly one person in the observable
> universe.
>
I'm actually curious how much if would've sufficed to just simply add a
test/CMakeLists.txt that just did:
boost_test_jamfile(...)
and then you just generate the solution from the boost-root, as is the
standard for Boost.
Interestingly, I would've had to manually add this for my own workflows as
I use clangd which is based on a compile_commands.json. Without tests,
there would've been nothing to compile.
- Christian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk