CMake presets are a configuration mechanism for composing and using common presets for CMake configurations. Presets can be written for common configuration, build, test, and packaging configurations. Preset configurations of each type can be composed via inheritence and used from the commandline.
The official documentation for CMake Presets can be found here.