aboutsummaryrefslogtreecommitdiff
path: root/dists/msvc9_to_msvc8.bat
diff options
context:
space:
mode:
authorFilippos Karapetis2009-07-09 15:12:35 +0000
committerFilippos Karapetis2009-07-09 15:12:35 +0000
commitaa66cf3fd8e8db52384653240276349fa39e2a15 (patch)
treeb563c522cc0a1e3e431a0ce84bdee364e485c04a /dists/msvc9_to_msvc8.bat
parent8a783bdd7602f8fa2718fb5967505b00812ed70d (diff)
downloadscummvm-rg350-aa66cf3fd8e8db52384653240276349fa39e2a15.tar.gz
scummvm-rg350-aa66cf3fd8e8db52384653240276349fa39e2a15.tar.bz2
scummvm-rg350-aa66cf3fd8e8db52384653240276349fa39e2a15.zip
- Rewrote and greatly simplified the MSVC8 and MSVC9 project files so that they use common compilation properties, based on patch #2774908. These common properties make it much simpler to change options and compilation defines globally, similar to how GCC *.mk files do. Also, this fixes problems where an ENABLE_* define was set for one project file but not another (like the situation in revisions 42257 and 42259). It's now much easier to construct a tool which will create the project files dynamically.
- Dropped support for MSVC7 and MSVC7.1 for now (as they don't support common compilation properties and it's no longer easy to construct them from the MSVC8 ones) - hopefully, they will return in the future, once we got a more sophisticated tool to create them - Simplified the MSVC9 <-> MSVC8 conversion tools a bit svn-id: r42288
Diffstat (limited to 'dists/msvc9_to_msvc8.bat')
-rw-r--r--dists/msvc9_to_msvc8.bat5
1 files changed, 1 insertions, 4 deletions
diff --git a/dists/msvc9_to_msvc8.bat b/dists/msvc9_to_msvc8.bat
index 39fab8bc4a..c4e4e17cb9 100644
--- a/dists/msvc9_to_msvc8.bat
+++ b/dists/msvc9_to_msvc8.bat
@@ -11,15 +11,12 @@ if not exist rpl.exe goto no_rpl
echo Creating MSVC8 project files from the MSVC9 ones
copy /y msvc9\*.vcproj msvc8\
copy /y msvc9\*.sln msvc8\
+copy /y msvc9\*.vsprops msvc8\
rpl -e -q "Version=\"9.00\"" "Version=\"8.00\"" msvc8\*.vcproj
rpl -e -q "Version=\"9,00\"" "Version=\"8,00\"" msvc8\*.vcproj
rpl -e -q "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj
-rpl -e -q "\t\t\t\tRandomizedBaseAddress=\"1\"\n" "" msvc8\scummvm.vcproj
-rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\scummvm.vcproj
rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\scummvm.sln
rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\scummvm.sln
-rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\scummvm.sln
-rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\scummvm.sln
goto the_end
:no_rpl