Boost logo

Boost :

From: Alexander Grund (alexander.grund_at_[hidden])
Date: 2024-12-17 16:38:14


> 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.




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk