+ ) 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.
+ goto quit
+ ) else if /I "%1" == "RTC" (
+ echo. && echo Warning: RTC switch is ignored outside of a Visual Studio environment. && echo.
+ ) else if /I "%1" NEQ "" (
+ echo %1| find /I "-D" > NUL
+ if %ERRORLEVEL% == 0 (
+ REM User is passing a switch to CMake
+ REM Ignore it, and ignore the next parameter that follows
+ Shift
+ ) else (
+ echo. && echo Warning: Unrecognized switch "%1" && echo.
+ )