
17 Dec
2024
17 Dec
'24
4:38 p.m.
I'm also not quite clear on how things will work on the CMake side. I can envisage the add_subdirectory case working, more or less, but what would (or needs to) happen when Boost is _installed_ via CMake, with module support enabled?
And how will it then be consumed on the user side, after find_package? As far as I understood the BMIs are "just precompiled headers". So those must not be installed because they basically depend on everything related to the compiler invocation.
I guess the installed find module could just add target_sources(boost_core PUBLIC FILE_SET modules TYPE CXX_MODULES FILES file.cppm) Not sure how much this can be automated.