From ac23c7a74bffb0a983899fc080c157ba18f2d22e Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 6 Feb 2026 15:06:32 +0000 Subject: [PATCH] vs-cfg.cmd - more readable error on supported versions of VS --- win/vs-cfg.cmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win/vs-cfg.cmd b/win/vs-cfg.cmd index 794291792b..a5720c48f0 100644 --- a/win/vs-cfg.cmd +++ b/win/vs-cfg.cmd @@ -104,6 +104,9 @@ IF "!GENERATOR!"=="" IF NOT "%VisualStudioVersion%"=="" ( GOTO :GeneratorValid ) ) + call utils\cecho.cmd 0 12 ^ + "Generator is not provided and VisualStudioVersion='%VisualStudioVersion%' is not supported - cannot proceed." + exit /b 1 ) :: Check that the used CMake version supports the chosen generator