[CONFIGURE] Fix using ninja as a configure switch (#5556)

CORE-19059

This was unhidden by commit 3feb0cfb9.
This commit is contained in:
Egor Ananyin
2023-08-10 17:25:06 +02:00
committed by GitHub
parent 918a818071
commit 97f59fa545
+4
View File
@@ -84,6 +84,8 @@ REM Parse command line parameters
set CMAKE_GENERATOR="Eclipse CDT4 - MinGW Makefiles"
) else if /I "%1" == "Makefiles" (
set CMAKE_GENERATOR="MinGW Makefiles"
) else if /I "%1" == "Ninja" (
set CMAKE_GENERATOR="Ninja"
) else if /I "%1" == "VSSolution" (
echo. && echo Error: Creation of VS Solution files is not supported in a MinGW environment.
echo Please run this command in a [Developer] Command Prompt for Visual Studio.
@@ -107,6 +109,8 @@ REM Parse command line parameters
set CMAKE_GENERATOR="Eclipse CDT4 - NMake Makefiles"
) else if /I "%1" == "Makefiles" (
set CMAKE_GENERATOR="NMake Makefiles"
) else if /I "%1" == "Ninja" (
set CMAKE_GENERATOR="Ninja"
) else if /I "%1" == "clang" (
set USE_CLANG_CL=1
) else if /I "%1" == "VSSolution" (