[CMake] CMake for many interdependent libraries/executables

Dan Kegel dank at kegel.com
Wed May 23 13:31:22 EDT 2012


On Wed, May 23, 2012 at 9:52 AM, Wiser, Tyson <TWiser at logostech.net> wrote:
> We don't modify external dependencies, but we do need to check them out and
> build them before building a library or executable that depends on them.
> Sometimes a developer will be working in a single library or executable.
> Sometimes he will be working in multiple libraries and/or executables.  You can
> imagine that for a new developer it becomes very complicated to know which
> libraries and executables need to be checked out and in which order they need
> to be built in order to satisfy all the dependencies.  Even established
> developers that have all the necessary dependencies checked out and modify a
> library have trouble knowing which libraries need to be rebuilt, and in what
> order, for the change to propagate up to an executable.

How impractical would it be to always check out and build everything?
How close is an incremental build over the whole tree to "fast enough"?
- Dan


More information about the CMake mailing list