Looking for a ‘cmake clean’ command to clear up CMake output

Just as make clean deletes all the files that a makefile has produced, I would like to do the same with CMake. All too often I find myself manually going through directories removing files like cmake_install.cmake and CMakeCache.txt, and the CMakeFiles folders. Is there a command like cmake clean to remove all these files automatically? … Read more