CMake Presets are json files to store build configurations for CMake. IDEs such as VS Code or CLion can utilize those file.
There are two files:
CMakePresets.jsonfor project-wise buildsCMakeUserPresets.jsonfor developers’ own local builds. This file should not be checked into VCS. Both files have the same format and should be located in a project’s root directory.