Re:Build2, a Cargo-like dependency and build manager for C/C++
by sitkack on Wednesday May 30, 2018 @09:10PM
(#17193220)
Single file header only libs? https://en.wikipedia.org/wiki/Header-only
Maybe Clang or GCC could be modified to output these header only libs. The other option, is to use the package specific compilation tooling but generate WASM. Then use WASM as the module system.
The problem is that there isn't a nice way in C++ to separate modules into discrete, importable components the same way that you can in Python, JS, and others. This leads to fractured imports and strange build processes.