How to clear CMake cache in Clion?

Starting with CLion 1.5 144.3143 (2016-01-20), you can clear the cmake cache without loosing the CLion indexes and without restarting (meaning: very fast, also on huge projects):

Tool | CMake | "Reset cache and reload project".

If that for some reasons is not enough, or if you have an older CLion, you can do the more radical:

File | "Invalidate Caches / Restart" 

and click on “Invalidate and restart”.

EDITS

  • 2016-01-20: add the faster method available with newer CLion.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)