aboutsummaryrefslogtreecommitdiff
path: root/dists/msvc9/create_msvc9.bat
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-03 23:20:28 +0000
committerFilippos Karapetis2009-11-03 23:20:28 +0000
commit692aea8e8d09163da3e05181784fd0b79efea8af (patch)
tree1a1cbb1d19d1a03d7cf094a068acc8a2c6e57db9 /dists/msvc9/create_msvc9.bat
parent4ec4eedf49ce3ab69f20fdec626b1aefb4bcd2d2 (diff)
downloadscummvm-rg350-692aea8e8d09163da3e05181784fd0b79efea8af.tar.gz
scummvm-rg350-692aea8e8d09163da3e05181784fd0b79efea8af.tar.bz2
scummvm-rg350-692aea8e8d09163da3e05181784fd0b79efea8af.zip
Added batch files to create default project files using the create_msvc tool
svn-id: r45647
Diffstat (limited to 'dists/msvc9/create_msvc9.bat')
-rw-r--r--dists/msvc9/create_msvc9.bat30
1 files changed, 30 insertions, 0 deletions
diff --git a/dists/msvc9/create_msvc9.bat b/dists/msvc9/create_msvc9.bat
new file mode 100644
index 0000000000..25af270ad9
--- /dev/null
+++ b/dists/msvc9/create_msvc9.bat
@@ -0,0 +1,30 @@
+@echo off
+echo.
+echo Automatic creation of the MSVC9 project files
+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
+
+: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_engines
+echo Creating project files with all engines enabled
+create_msvc ..\.. --enable-all-engines --msvc-version 9
+goto done
+
+:normal_build
+echo Creating normal project files, with only the stable
+echo engines enabled
+create_msvc ..\.. --msvc-version 9
+goto done
+
+:done
+pause