2009-11-03 23:20:28 +00:00
|
|
|
@echo off
|
|
|
|
echo.
|
|
|
|
echo Automatic creation of the MSVC8 project files
|
|
|
|
echo.
|
|
|
|
|
2010-11-10 03:44:50 +00:00
|
|
|
if not exist create_project.exe goto no_tool
|
2009-11-03 23:20:28 +00:00
|
|
|
|
2009-11-04 08:05:12 +00:00
|
|
|
: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
|
2009-11-03 23:20:28 +00:00
|
|
|
|
|
|
|
:no_tool
|
2010-11-10 03:44:50 +00:00
|
|
|
echo create_project.exe not found in the current folder.
|
2009-11-03 23:20:28 +00:00
|
|
|
echo You need to build it first and copy it in this
|
|
|
|
echo folder
|
|
|
|
goto done
|
|
|
|
|
2009-11-04 08:05:12 +00:00
|
|
|
:all
|
|
|
|
echo Creating project files with all engines enabled (stable and unstable)
|
2010-11-10 03:44:50 +00:00
|
|
|
create_project ..\.. --enable-all-engines --msvc --msvc-version 8
|
2009-11-03 23:20:28 +00:00
|
|
|
goto done
|
|
|
|
|
2009-11-04 08:05:12 +00:00
|
|
|
:stable
|
|
|
|
echo Creating normal project files, with only the stable engines enabled
|
2010-11-10 03:44:50 +00:00
|
|
|
create_project ..\.. --msvc --msvc-version 8
|
2009-11-03 23:20:28 +00:00
|
|
|
goto done
|
|
|
|
|
|
|
|
:done
|
|
|
|
pause
|