Add support for: set(CMAKE_DEFAULT_PRESET "preset-name") in CMakeLists.txt
Feature Suggestion:
When using CMake with VS 2022 preset (from CMakePresets.json) can be selected in GUI. I would like to be able to select default preset that will only be used if it is not selected as an option in the command line or trough VS 2022 GUI. This is useful for when sharing CMake files with people who build them trough command line. It will ensure that they get the same directory structure without needing to worry about selecting presets or making build directories.
I think the option should be something like this:
set(CMAKE_DEFAULT_PRESET "preset-name")