ref: 72d4ba92f0712bb415b070fc919b4e99a36317b7
parent: 160d671e349e0a879e93d4a7208beddac5d8ef0a
author: Tom Finegan <tomfinegan@google.com>
date: Thu Jul 22 09:34:25 EDT 2010
Add vs9 targets. Add targets x86-win32-vs9 and x86_64-win64-vs9 for support of Visual Studio 2008-- this removes the need to convert the vs8 projects before using them within the IDE. Change-Id: Idb83e2ae701e07d98db1be71638280a493d770a2
--- a/build/make/gen_msvs_proj.sh
+++ b/build/make/gen_msvs_proj.sh
@@ -206,7 +206,7 @@
;;
--ver=*) vs_ver="$optval"
case $optval in
- [78])
+ [789])
;;
*) die Unrecognized Visual Studio Version in $opt
;;
@@ -247,6 +247,8 @@
asm_use_custom_step=$uses_asm
;;
8) vs_ver_id="8.00"
+ ;;
+ 9) vs_ver_id="9.00"
;;
esac
--- a/build/make/gen_msvs_sln.sh
+++ b/build/make/gen_msvs_sln.sh
@@ -25,7 +25,7 @@
Options:
--help Print this message
--out=outfile Redirect output to a file
- --ver=version Version (7,8) of visual studio to generate for
+ --ver=version Version (7,8,9) of visual studio to generate for
--target=isa-os-cc Target specifier
EOF
exit 1
@@ -224,7 +224,7 @@
;;
--ver=*) vs_ver="$optval"
case $optval in
- [78])
+ [789])
;;
*) die Unrecognized Visual Studio Version in $opt
;;
@@ -235,7 +235,7 @@
7) sln_vers="8.00"
sln_vers_str="Visual Studio .NET 2003"
;;
- 8)
+ [89])
;;
*) die "Unrecognized Visual Studio Version '$optval' in $opt"
;;
@@ -256,6 +256,9 @@
;;
8) sln_vers="9.00"
sln_vers_str="Visual Studio 2005"
+ ;;
+ 9) sln_vers="10.00"
+ sln_vers_str="Visual Studio 2008"
;;
esac
--- a/configure
+++ b/configure
@@ -107,11 +107,13 @@
all_platforms="${all_platforms} x86-win32-gcc"
all_platforms="${all_platforms} x86-win32-vs7"
all_platforms="${all_platforms} x86-win32-vs8"
+all_platforms="${all_platforms} x86-win32-vs9"
all_platforms="${all_platforms} x86_64-darwin9-gcc"
all_platforms="${all_platforms} x86_64-linux-gcc"
all_platforms="${all_platforms} x86_64-linux-icc"
all_platforms="${all_platforms} x86_64-solaris-gcc"
all_platforms="${all_platforms} x86_64-win64-vs8"
+all_platforms="${all_platforms} x86_64-win64-vs9"
all_platforms="${all_platforms} universal-darwin8-gcc"
all_platforms="${all_platforms} universal-darwin9-gcc"
all_platforms="${all_platforms} generic-gnu"