Building, installing and consuming shared libraries with C++20 modules

There’s some material around about how to get started with C++20 modules, but not a lot covering the more challenging topic of working with C++20 modules and shared libraries. I wrote a blog article to try to capture the essential elements of that, showing how to get CMake to cover the main scenarios for this more advanced topic. It is intended to be somewhat of a next step after the initial introduction given in the import CMake; the Experiment is Over! Kitware blog post announcing the start of official C++20 modules support. Hopefully it helps some folks.

3 Likes