On 5/17/2018 11:46 AM, Brad King wrote:
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.
Another quick way to see what is going on is to run cmake with the --trace option:
cmake . --trace

It will produce a lot of output but you should be able to see if it is repeating something or getting stuck on some operation.

-Bill

--

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

Reply via email to