Add support for modular build structure.#73
Conversation
|
Please review and merge this PR at your earliest convenience. |
|
@zajo replying here as it's easier for me to keep track of questions/issues..
Some benefits:
I understand that other benefits from other use cases might not apply to LEAF because it doesn't depend on other Boost libraries (neither does mine, Predef, and that doesn't even depend on Boost for tests). But if at some future point another Boost library, or perhaps a non-Boost library, depends on LEAF and uses B2 it will need the public declaration of the project and project target to make it work (to add the include dir path and any build requirements). This generally brings B2 on par with what's in the CML. Hence if you think having a CML is useful.. Then having this PR is useful for the same reasons. |
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.
This PR depends on the following other PRs being merged to both develop and master branches of the respective repos:
This PR will be changed to ready for review, i.e. not draft, when the above are merged. Do not merge this one until that time.