r/cpp • u/not_a_novel_account cmake dev • Jun 01 '26
BMI Compatibility: Testing Build System C++ Modules Support
https://blog.vito.nyc/posts/bmi-compatibility/
68
Upvotes
r/cpp • u/not_a_novel_account cmake dev • Jun 01 '26
View all comments
Show parent comment
1
u/mwasplund soup Jun 07 '26
The question in my mind is, in a world where we no longer have a header interface layer for something like Boost how do you distribute the shared library as a prebuilt binaries? Do we produce a trivially compileable interface that can be distributed alongside the binary artifacts and the module metadata which will allow for consumers to compile a compatible BMI? If so, then it should be easy enough for the consumer to wrap these external prebuilt libraries in light weight package definitions that function as if they are built in the closure of the target flavor for the BMI and copy the shared object files as prebuilt artifacts. This should be configurable up front as opposed to dynamic during build execution.
I am not following what it means for Debian to use a build systems module support, are you saying that a build system is not useful unless it can support operating system requirements?