-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Minimal CMake
By :

When we say nested dependencies, we mean dependencies of the library we’d like to depend on ourselves (you can think of these as indirect dependencies, also known as transitive dependencies). For example, if an application depends on Library A, and Library A depends on Library B, then as far as the application is concerned, Library B is nested inside Library A. Whether that dependency is private (hidden from the application) or public (visible to the application) also affects how we handle it.
In the example we just looked at (mc-array
), we fortunately did not have any dependencies to worry about when providing install support. Things get a little more complicated when we do, but once we understand what is needed and why, it’s not that much work to support.
To better understand this, we’ll turn our attention to our Game of Life library, mc-gol
, situated in ch7/part-2/lib/gol
. It would be good to add install support to this...