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 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers