[cmake-developers] Using CMake to build big projects with cross-dependencies
Brad King
brad.king at kitware.com
Thu May 17 11:46:56 EDT 2018
On 05/17/2018 05:56 AM, Kinga Kasa wrote:
> cmake running for hours and hours (stuck at saying Configuring done,
> eventually it will finish, but it runs for hours).
That's not expected. Even on projects with tens of thousands of
source files and thousands of libraries and executables it typically
takes only a few minutes. You could try breaking in the debugger
locally during generation to see what it's doing. Or, you could
try bisecting your project's content to get a smaller example that
reproduces the long generation time.
> ExternalProject_Add
We typically use this on very large projects to avoid any individual
build taking too long.
-Brad
More information about the cmake-developers
mailing list