Closing the C++20 modules gap between build systems and package managers
Problem
Pre-built libraries have no common way to ship C++20 module metadata, and build systems other than CMake still lack mature module support, so library authors cannot rely on modules being consumable.
Hypothesis
Module adoption may be blocked less by compilers than by distribution. Tools that generate and consume module metadata for Conan and vcpkg packages, in the format SG15 is designing, could unblock libraries.
A converter that emits P3286-style module metadata for existing Conan or vcpkg packages, plus one non-CMake build-system integration (Meson or xmake) that consumes it, tested on a handful of popular libraries.
Evidence
- Are We Modules Yet? tracks module support in popular projects: 234 of 2,609 completedata · arewemodulesyet.org
- P3286R0 Module Metadata Format for Distribution with Pre-Built Libraries (SG15)paper · wg21.link
- P2577R2 C++ Modules Discovery in Prebuilt Library Releasespaper · wg21.link
- Meson issue #5024: discussing a design for C++20 modules in Meson (open since 2019)issue · github.com
- CMake cmake-cxxmodules(7): CMake's documented module supportdoc · cmake.org
- observation · arewemodulesyet.org: 234 of 2,609 tracked projects complete (2026-10-04)
Existing solutions
Attached signals
Recent issues and discussions in 6 tracked projects (Apache Arrow, DOLFINx (FEniCS), Spack, Xmake and 2 more) mention “find_package”. This is an automatically detected signal, not a validated need.
6 projects13 issues/discussionscurated pain phrase