Clion reloads when cmake runs externally

已完成

So, it seems that Clion will randomly load the Cmake project when an external build is triggered. Very often it will fail and the indexer is left in a broken state. I will than have to reset the cache and to reload the project. Even when not failing, it slows down the computer, because the external build uses all my cores. This slows down the progress. 

Clion builds into another directory and is not supposed to touch the external build artifacts (different generation path), so how does Clion even notice that? 

I really wish there would be button to disable this "smartness". There is everything fine with the IDE and suddenly: reload and a broken indexer. 

Of course, the checkbox "Automatically reload CMake project on editing" is disabled. 

Help would be appreciated. 

0

Hi Mathias!

Could you please clarify what you mean by external build?

0

Hi Anna,

 

external build means for me, I invoke cmake manually on the command line.

 

 

0

Please go to Help | Debug Log Settings, add #com.jetbrains.cidr.cpp there, launch the external build, wait till CMake reload completes in CLion and after that send the idea.log file (Help | Show Log in ...) to clion-support at jetbrains.com. Thanks!

0

Hi Anna,

 

thank you, for your help. We find that our build system touch some files, which should not have been touch. 

0

请先登录再写评论。