cpp20.py is a Python script to compile C++20 code using modules. Then, it compiles then in order using the correct flags.
Caching is done only by comparing modification times of files.

Python script to compile C++20 code using modules
2.90 GEEK