On Jun 24, 2017, at 1:11 PM, Peter Dimov via Boost
wrote: P F wrote:
And this works for both `add_subdirectory` build and standalone builds.
Provided that the user has installed BCM, I presume? Because otherwise > find_package(BCM) won't work.
Yes, of course, and considering that building standalone requires quite a bit of dependencies(six just for system) to be installed already, I don’t think one more dependency will be a problem in this scenario.
It's not a problem for standalone builds, where you do need to install and build dependencies, whether six or seven. For the add_subdirectory case, however, it changes the number of dependencies requiring installation from 0 to 1.
No, you just do `include` instead of `add_subdirectory`, but it doesn’t require installation. And in fact, in the case of doing `add_subdirectory(boost)` its completely transparent.