[build2] Complete C++20 Modules support with GCC

Boris Kolpackov boris at codesynthesis.com
Tue Feb 16 11:18:26 UTC 2021


The build2 toolchain now provides conforming and scalable support for all
the major C++20 Modules features when used with GCC. This includes named
modules, module partitions (both interface and implementation), header
unit importation, and include translation. All of these features are also
supported in libraries, including consumption of installed libraries with
information about modules and importable headers conveyed in pkg-config
files. As part of this effort we have also created a collection of examples
that demonstrate C++20 Modules features that impact the build process. For
details, see:

https://build2.org/blog/build2-cxx20-modules-gcc.xhtml



More information about the users mailing list