Building across multiple code repositories
Software projects, either directly or indirectly, span multiple code repositories. Dealing with local project code is the easiest, but software projects are rarely standalone. Things may get complicated quickly without a proper dependency management strategy. The first recommendation of this chapter is to use a package manager or a dependency provider if you can. As described in Chapter 5, Integrating Third-Party Libraries and Dependency Management, package managers greatly reduce the effort spent on dependency management. If you are not able to use a pre-built package manager, you may need to roll your very own mini project-specific package manager, which is called a super-build.
Super-builds are mostly used to make a project self-sufficient dependency-wise, which means the project is able to satisfy its very own dependencies without the intervention of the user. Having such an ability is very convenient for all consumers. To demonstrate...