Draft: Minimal-changes header-only version
This MR is what - I would say - is a minimal set of changes to make the library header-only.
Of course, it is also possible to have CMake select between building (and then installing) a compiled and a header-only version, to satisfy existing use-cases which want to avoid any platform-specific includes. If that's interesting to you, it's also obviously doable.