
пн, 23 июн. 2025 г. в 12:30, Leonid . via Boost <boost@lists.boost.org>:
Also I want to ask why I should setup CMake for header only library? (In doc you wrote "Required for all libraries.")
One function that a build system performs for header-only libraries is running tests and building documentation and examples. It would be simpler for your potential contributors to just use a build system rather than to figure out your custom way of doing things. Specifically for documentation you have the option to just store pre-built HTML pages, but that has its downsides. Note that without tests your chance of getting accepted approaches zero. And by having a custom system to run tests you reduce the likelihood of getting reviews, which also reduces the chance of getting accepted.