diff options
author | Julien Templier | 2010-11-10 03:44:50 +0000 |
---|---|---|
committer | Julien Templier | 2010-11-10 03:44:50 +0000 |
commit | aad7f2e0eb6ee4af81d116a1e8ecad7e29b2ee85 (patch) | |
tree | 1932ed0cf9a41716140a0e627772f284d344621d /dists/codeblocks/create_codeblocks.bat | |
parent | 988d9f34016c278a0100ac799aef5df52879adf2 (diff) | |
download | scummvm-rg350-aad7f2e0eb6ee4af81d116a1e8ecad7e29b2ee85.tar.gz scummvm-rg350-aad7f2e0eb6ee4af81d116a1e8ecad7e29b2ee85.tar.bz2 scummvm-rg350-aad7f2e0eb6ee4af81d116a1e8ecad7e29b2ee85.zip |
TOOLS: Update batch files for new create_project tool
svn-id: r54180
Diffstat (limited to 'dists/codeblocks/create_codeblocks.bat')
-rw-r--r-- | dists/codeblocks/create_codeblocks.bat | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dists/codeblocks/create_codeblocks.bat b/dists/codeblocks/create_codeblocks.bat new file mode 100644 index 0000000000..2f843682c7 --- /dev/null +++ b/dists/codeblocks/create_codeblocks.bat @@ -0,0 +1,34 @@ +@echo off +echo. +echo Automatic creation of the Code::Blocks project files +echo. + +if not exist create_project.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_project.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_project ..\.. --enable-all-engines --codeblocks +goto done + +:stable +echo Creating normal project files, with only the stable engines enabled +create_project ..\.. --codeblocks +goto done + +:done +pause
\ No newline at end of file |