From 97f59fa5451fcb397e243659db09373702b6c9a4 Mon Sep 17 00:00:00 2001 From: Egor Ananyin Date: Thu, 10 Aug 2023 18:25:06 +0300 Subject: [PATCH] [CONFIGURE] Fix using ninja as a configure switch (#5556) CORE-19059 This was unhidden by commit 3feb0cfb9. --- configure.cmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.cmd b/configure.cmd index 33213aed58d..f8c2cc67669 100755 --- a/configure.cmd +++ b/configure.cmd @@ -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" (