I would like to use cmake to build project code, but I haven't used cmake with C++20 Modules. Currently, I'm using a hand written Makefile to build and link modules.
I'd like to see a code example of cmake building C++20 modules and linking them to an executable or shared library?
I'm building on Ubuntu v20.