Skip to content

Commit 97f59fa

Browse files
[CONFIGURE] Fix using ninja as a configure switch (reactos#5556)
CORE-19059 This was unhidden by commit 3feb0cf.
1 parent 918a818 commit 97f59fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.cmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ REM Parse command line parameters
8484
set CMAKE_GENERATOR="Eclipse CDT4 - MinGW Makefiles"
8585
) else if /I "%1" == "Makefiles" (
8686
set CMAKE_GENERATOR="MinGW Makefiles"
87+
) else if /I "%1" == "Ninja" (
88+
set CMAKE_GENERATOR="Ninja"
8789
) else if /I "%1" == "VSSolution" (
8890
echo. && echo Error: Creation of VS Solution files is not supported in a MinGW environment.
8991
echo Please run this command in a [Developer] Command Prompt for Visual Studio.
@@ -107,6 +109,8 @@ REM Parse command line parameters
107109
set CMAKE_GENERATOR="Eclipse CDT4 - NMake Makefiles"
108110
) else if /I "%1" == "Makefiles" (
109111
set CMAKE_GENERATOR="NMake Makefiles"
112+
) else if /I "%1" == "Ninja" (
113+
set CMAKE_GENERATOR="Ninja"
110114
) else if /I "%1" == "clang" (
111115
set USE_CLANG_CL=1
112116
) else if /I "%1" == "VSSolution" (

0 commit comments

Comments
 (0)