Chapter 10: Handling Big Projects and Distributed Repositories in a Superbuild
As we should have learned by now, every big project comes with its own set of dependencies. The easiest way of dealing with these dependencies is by using a package manager, such as Conan or vcpkg. But using a package manager might not always be possible or feasible, due to company policies, project requirements, or lack of resources. Thus, the project authors might consult the traditional, old-style ways to deal with the dependencies. The usual way of dealing with these dependencies may include shipping all dependencies embedded into the repository's build code. Alternatively, project authors may decide to let the end user deal with the dependencies from scratch. Neither of these ways is clean and has its own drawbacks. What if I told you there is a middle ground? Welcome to the super-build approach.
A super-build is a method that can be used for decoupling the logic required for satisfying dependencies...