Zend certified PHP/Magento developer

Large CMake project in CLion: it works without error, but it takes a long time

I have a C++ project that I have successfully imported into CLion. It works: I can successfully build the project.

Unfortunately, it takes a long time (5 minutes or so) for the CMake project to reload every time any CMakeLists.txt file is changed.

During this time, there is one background process running, and it looks like this:

enter image description here

Possible Factors:

  1. I am doing a remote build, on a docker container.

Questions:

  1. How to debug this? Is there any way I can get some indication of what is taking so long?

  2. If possible, I’d like to make this take less time. How can I do that?