Invalid generators in CMakePresets don't cause error or warning
Original discussion: #24597 (closed)
CMakePresets.json
doesn't warn if you have an invalid generator, such as "ZIP "
for CPack or "Visual Studio"
for CMake. The original reason for this was because we don't want to error if "Visual Studio 15 2017"
is seen on Linux, as this is a valid generator on Windows. However, if a generator is found that doesn't exist on any platform, such as "Visual Studio"
, then it may make sense to error or warn in such cases.