CLion 2019.1 Help

CMake Cache

CMake caches variables and settings in the CMakeCache.txt file. When you load a project for the first time, this file is generated in the build directory (cmake-build-debug or cmake-build-release by default) according to the contents of CMakeLists.txt.

If required, you can open and edit CMakeCache.txt as a regular text file (use the icons fileTypes config icon in the CMake Tool Window or locate the file in the project tree).

Reset CMake cache

To reset the CMake cache without affecting the CLion cache, do one of the following:

  1. Call Tools | CMake | icons actions forceRefresh svgReset Cache and Reload Project.

  2. Click the artwork studio icons logcat toolbar settings icon in the CMake tool window and choose icons actions forceRefresh svgReset Cache and Reload Project from the drop-down menu.

Last modified: 2 July 2019

See Also