|
# for find of beman-install-library |
|
include(infra/cmake/beman-install-library-config.cmake) |
Making this an include with a path, rather than a find_package and setting the module path, means that we can't easily re-use the infra package once it stabilizes. It must be in tree and infra merged in for a package to get any shared benefits.
Having the infra directory in tree is a tradeoff to allow looser coupling without the problems of submodules, and for a project to use and propose changes to the infra facilities. But scaling the reuse means using infra by a package, not by vendoring.
exemplar/CMakeLists.txt
Lines 27 to 28 in ddfe5ba
Making this an include with a path, rather than a find_package and setting the module path, means that we can't easily re-use the infra package once it stabilizes. It must be in tree and infra merged in for a package to get any shared benefits.
Having the infra directory in tree is a tradeoff to allow looser coupling without the problems of submodules, and for a project to use and propose changes to the infra facilities. But scaling the reuse means using infra by a package, not by vendoring.