Hi Daniel,

I am looking at the doc – can you clarify what is the difference between modules metadata for pre-built libraries vs source only libraries? I don’t see any metadata for where the prebuilt libs are located or at least how they are named – am I missing something?

 

Also, I don’t see library name in the metadata format – it will be needed to resolve library dependencies and find module dependencies in other libraries.

Can we please add it as a required metadata?

 

Thanks,

Olga

 

 

From: SG15 <sg15-bounces@lists.isocpp.org> On Behalf Of Daniel Ruoso via SG15
Sent: Wednesday, May 22, 2024 6:32 AM
To: sg15@lists.isocpp.org
Cc: Daniel Ruoso <daniel@ruoso.com>
Subject: [isocpp-sg15] Module metadata distributed with pre-built libraries

 

Hello, 

 

I just submitted https://wg21.link/p3286r0 , which specifies the format of the metadata file that should be shipped with pre-built libraries.

 

The same format will be used by the standard library itself to inform build systems how to parse the std modules. 

 

This is formalizing earlier discussions on this list, which already inform the experimental support for it in libc++, which already has been implemented in CMake.

 

Feedback is welcome.

 

Daniel