diff options
author | Johannes Schickel | 2009-12-30 16:29:29 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-12-30 16:29:29 +0000 |
commit | 16966727e988773eecfa2d0bdb8d15eb8ca5c6ef (patch) | |
tree | ff23e29aa1a003f3953c5b31c1e25aac2810467e /dists/msvc10 | |
parent | 564b2b9225c94e53b096527ddcdb194c05fd1ea3 (diff) | |
download | scummvm-rg350-16966727e988773eecfa2d0bdb8d15eb8ca5c6ef.tar.gz scummvm-rg350-16966727e988773eecfa2d0bdb8d15eb8ca5c6ef.tar.bz2 scummvm-rg350-16966727e988773eecfa2d0bdb8d15eb8ca5c6ef.zip |
Commit of patch 6 "Add MSVC10 dists folder (batch file and readme)" from fr #2891357 "create_msvc: Add support for MSVC10".
svn-id: r46762
Diffstat (limited to 'dists/msvc10')
-rw-r--r-- | dists/msvc10/create_msvc10.bat | 34 | ||||
-rw-r--r-- | dists/msvc10/readme.txt | 6 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dists/msvc10/create_msvc10.bat b/dists/msvc10/create_msvc10.bat new file mode 100644 index 0000000000..ca9a6405e0 --- /dev/null +++ b/dists/msvc10/create_msvc10.bat @@ -0,0 +1,34 @@ +@echo off +echo. +echo Automatic creation of the MSVC10 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 10 +goto done + +:stable +echo Creating normal project files, with only the stable engines enabled +create_msvc ..\.. --msvc-version 10 +goto done + +:done +pause diff --git a/dists/msvc10/readme.txt b/dists/msvc10/readme.txt new file mode 100644 index 0000000000..0f21d3d780 --- /dev/null +++ b/dists/msvc10/readme.txt @@ -0,0 +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.exe, copy it inside this +folder and run the create_msvc10.bat file for a default build. You can run +create_msvc.exe with no parameters to check the possible command-line options |