aboutsummaryrefslogtreecommitdiff
path: root/dists
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
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')
-rw-r--r--dists/msvc8/create_msvc8.bat30
-rw-r--r--dists/msvc8/readme.txt8
-rw-r--r--dists/msvc9/create_msvc9.bat30
-rw-r--r--dists/msvc9/readme.txt8
4 files changed, 66 insertions, 10 deletions
diff --git a/dists/msvc8/create_msvc8.bat b/dists/msvc8/create_msvc8.bat
new file mode 100644
index 0000000000..dcd6e64ddf
--- /dev/null
+++ b/dists/msvc8/create_msvc8.bat
@@ -0,0 +1,30 @@
+@echo off
+echo.
+echo Automatic creation of the MSVC8 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 8
+goto done
+
+:normal_build
+echo Creating normal project files, with only the stable
+echo engines enabled
+create_msvc ..\.. --msvc-version 8
+goto done
+
+:done
+pause
diff --git a/dists/msvc8/readme.txt b/dists/msvc8/readme.txt
index b11a79a382..1867872479 100644
--- a/dists/msvc8/readme.txt
+++ b/dists/msvc8/readme.txt
@@ -1,8 +1,6 @@
The Visual Studio project files can now be created automatically from the GCC
files using the create_msvc tool inside the /tools/create_msvc folder.
-To create the default project files, build create_msvc, copy it inside this
-folder and run it like this:
-create_msvc ..\.. --msvc-version 8
-
-Run the tool with no parameters to check the possible command-line options
+To create the default project files, build create_msvc.exe, copy it inside this
+folder and run the create_msvc8.bat file for a default build. You can run
+create_msvc.exe with no parameters to check the possible command-line options
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
diff --git a/dists/msvc9/readme.txt b/dists/msvc9/readme.txt
index c6e8f1f0c0..2efbfc9b31 100644
--- a/dists/msvc9/readme.txt
+++ b/dists/msvc9/readme.txt
@@ -1,8 +1,6 @@
The Visual Studio project files can now be created automatically from the GCC
files using the create_msvc tool inside the /tools/create_msvc folder.
-To create the default project files, build create_msvc, copy it inside this
-folder and run it like this:
-create_msvc ..\.. --msvc-version 9
-
-Run the tool with no parameters to check the possible command-line options
+To create the default project files, build create_msvc.exe, copy it inside this
+folder and run the create_msvc9.bat file for a default build. You can run
+create_msvc.exe with no parameters to check the possible command-line options