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.json
for project-wise buildsCMakeUserPresets.json
for 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.