https://git.reactos.org/?p=reactos.git;a=commitdiff;h=97f59fa5451fcb397e243…
commit 97f59fa5451fcb397e243659db09373702b6c9a4
Author: Egor Ananyin <ananinegor(a)gmail.com>
AuthorDate: Thu Aug 10 18:25:06 2023 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Aug 10 17:25:06 2023 +0200
[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" (