C++ Logo

sg15

Advanced search

P2962R0: Communicating the "Baseline Compile Command" for C++ Modules support

From: Daniel Ruoso (BLOOMBERG/ 919 3RD A) <"Daniel>
Date: Fri, 13 Oct 2023 16:06:45 -0000
Hello,

In the discussions in Varna, it became clear that build systems would need to communicate the "baseline compile command" to the tool that does the dependency scanning in order to correctly emulate the import.

At the same time, Static Analysis Tools that need to produce their own BMI for the code will also need to be able to assemble their own command for different modules.

So here's a paper describing the "baseline compile command" and also providing recommendations on how to communicate that across tooling in an interoperable way: https://wg21.link/P2962R0

Daniel

Received on 2023-10-13 16:06:46