A Year Closer to Standard C++ Dependency Management
In the beginning, there was chaos. Then there was pkg-config. This was more-or-less adequate for autotools, but it is suboptimal for describing related but separable consumables, and flag soup is semantically lossy. Thus, CMake developed in a different direction, initially creating “find modules”, and later, “exported targets”. The latter in particular is a significant advancement in the state of package information exchange, although it retains some limitations… of which the biggest, by far, is that it’s implemented in CMake script. As a result, only CMake has been able to take advantage of the much richer information provided by exported targets.
kitware.com