On Sat, Mar 7, 2020 at 5:37 AM Steven Watanabe via Boost
If you make a compiled library that contains exactly the same code that you would write for a header only library, "replace the native build system" becomes "glob the sources and add them to your project"
Actually, it is even easier than that. I provide a header file called "src.hpp" which you can just include in any one of your translation units, as a third way to consume the library in a non-header-only mode: https://github.com/vinniefalco/json/blob/develop/include/boost/json/src.hpp This is exactly how the linkable library is built, a TU called src.cpp just includes this header: https://github.com/vinniefalco/json/blob/develop/src/src.cpp Going this route gives you the compilation performance of a linkable library, without the hassle of writing a build script to emit a new library (it is just another TU in your already-existing build script). The library_template project also supports this: https://github.com/vinniefalco/library_template/blob/develop/include/boost/l... Thanks