Skip to content
⌘K

Closing the C++20 modules gap between build systems and package managers

Hypothesis, not validatedstage: hypothesis

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 credible first version

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

5 links, each opened when curated

Existing solutions

who already addresses it, and how well
  • CMakepartialModules within CMake builds (cmake-cxxmodules); not a cross-manager metadata format
  • MesonpartialDesign still under discussion in #5024

Attached signals

raw evidence from tracked projects that concerns this hypothesis
Closing the C++20 modules gap between build systems and package managers · Build · CPP Atlas