When we're the project root, we find_package Boost.
When we're running as part of the superproject, we add dependencies directly.
We only use 1. to develop locally. But it's cumbersome when we need to test changes applied to Boost dependencies - we need to create a Boost installation locally and point the project to it. Even then, it sometimes creates problems if we don't rm -rf the installed Boost.MySQL before using the project. CIs perform duplicate work for these workflows.
We currently support two CMake workflows:
find_package
Boost.We only use 1. to develop locally. But it's cumbersome when we need to test changes applied to Boost dependencies - we need to create a Boost installation locally and point the project to it. Even then, it sometimes creates problems if we don't
rm -rf
the installed Boost.MySQL before using the project. CIs perform duplicate work for these workflows.I'd like to get rid of workflow 1. in favor of 2.