r/cpp • cmake dev • Jun 01 '26

BMI Compatibility: Testing Build System C++ Modules Support

https://blog.vito.nyc/posts/bmi-compatibility/
68 Upvotes

43 comments sorted by

View all comments

Show parent comment

1

u/GabrielDosReis Jun 02 '26

the dllimport/dllexport decision is based on whether the module is imported for use (which is indicated by an explicit import) and if the symbol is made available for odr-use (as opposed to definition).