diff options
-rw-r--r-- | dists/msvc8/create_msvc8.bat | 20 | ||||
-rw-r--r-- | dists/msvc9/create_msvc9.bat | 20 |
2 files changed, 24 insertions, 16 deletions
diff --git a/dists/msvc8/create_msvc8.bat b/dists/msvc8/create_msvc8.bat index dcd6e64ddf..c1f18cb526 100644 --- a/dists/msvc8/create_msvc8.bat +++ b/dists/msvc8/create_msvc8.bat @@ -5,9 +5,14 @@ echo. if not exist create_msvc.exe goto no_tool -choice /m "Do you want to enable all engines? " -if errorlevel 2 goto normal_build -if errorlevel 1 goto all_engines +:question +echo. +set /p batchanswer="Enable (S)table engines only, or (A)ll engines? (S/A)" +if "%batchanswer%"=="s" goto stable +if "%batchanswer%"=="S" goto stable +if "%batchanswer%"=="a" goto all +if "%batchanswer%"=="A" goto all +goto question :no_tool echo create_msvc.exe not found in the current folder. @@ -15,14 +20,13 @@ echo You need to build it first and copy it in this echo folder goto done -:all_engines -echo Creating project files with all engines enabled +:all +echo Creating project files with all engines enabled (stable and unstable) create_msvc ..\.. --enable-all-engines --msvc-version 8 goto done -:normal_build -echo Creating normal project files, with only the stable -echo engines enabled +:stable +echo Creating normal project files, with only the stable engines enabled create_msvc ..\.. --msvc-version 8 goto done diff --git a/dists/msvc9/create_msvc9.bat b/dists/msvc9/create_msvc9.bat index 25af270ad9..9815d75c56 100644 --- a/dists/msvc9/create_msvc9.bat +++ b/dists/msvc9/create_msvc9.bat @@ -5,9 +5,14 @@ echo. if not exist create_msvc.exe goto no_tool -choice /m "Do you want to enable all engines? " -if errorlevel 2 goto normal_build -if errorlevel 1 goto all_engines +:question +echo. +set /p batchanswer="Enable (S)table engines only, or (A)ll engines? (S/A)" +if "%batchanswer%"=="s" goto stable +if "%batchanswer%"=="S" goto stable +if "%batchanswer%"=="a" goto all +if "%batchanswer%"=="A" goto all +goto question :no_tool echo create_msvc.exe not found in the current folder. @@ -15,14 +20,13 @@ echo You need to build it first and copy it in this echo folder goto done -:all_engines -echo Creating project files with all engines enabled +:all +echo Creating project files with all engines enabled (stable and unstable) create_msvc ..\.. --enable-all-engines --msvc-version 9 goto done -:normal_build -echo Creating normal project files, with only the stable -echo engines enabled +:stable +echo Creating normal project files, with only the stable engines enabled create_msvc ..\.. --msvc-version 9 goto done |