aboutsummaryrefslogtreecommitdiff
path: root/dists/msvc9/create_msvc9.bat
blob: 9815d75c56ee88bc8a0291f3d2ddc7d725af6690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@echo off
echo.
echo Automatic creation of the MSVC9 project files
echo.

if not exist create_msvc.exe goto no_tool

: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.
echo You need to build it first and copy it in this
echo folder
goto done

:all
echo Creating project files with all engines enabled (stable and unstable)
create_msvc ..\.. --enable-all-engines --msvc-version 9
goto done

:stable
echo Creating normal project files, with only the stable engines enabled
create_msvc ..\.. --msvc-version 9
goto done

:done
pause