That's incorrect: build2 had support for header units (with include translation) from 2021:
Thank you for informing me. I did not know about it. Can you give bigger
examples? Is it used in production anywhere?
On Fri, Mar 22, 2024 at 11:00 AM Boris Kolpackov
Hassan Sajjad via Boost
writes: It supports drop-in header-files to header-units replacement. While compilers support processing a header-file as header-unit, no other build-system supports this feature.
That's incorrect: build2 had support for header units (with include translation) from 2021:
https://build2.org/blog/build2-cxx20-modules-gcc.xhtml
(Funny enough that support was announced in Feb 2021 while I see the first commit in the HMake repository was also made in Feb 2021, so build2 had header unit support for as long as HMake existed ;-)).
And speaking of compilers, currently only GCC provides enough build system integration (in the form of the module mapper) to allow accurately supporting header units without making the user specify the dependencies manually (or imposing equivalent requirements like pre-compiling all the header units used by the project upfront). For background, see:
https://developercommunity.visualstudio.com/t/scanDependencies-does-not-take...