Merge
authoriklam
Tue, 27 Aug 2013 03:35:46 -0400
changeset 19688 e75adb08c8db
parent 19680 0c055c5fdc94 (current diff)
parent 19687 30bef3e4f058 (diff)
child 19689 d2cfd9aa18b8
Merge
--- a/hotspot/make/windows/create.bat	Mon Aug 26 18:34:29 2013 -0700
+++ b/hotspot/make/windows/create.bat	Tue Aug 27 03:35:46 2013 -0400
@@ -82,6 +82,7 @@
 
 echo **************************************************************
 set ProjectFile=%HotSpotBuildSpace%\jvm.vcproj
+echo MSC_VER = "%MSC_VER%" 
 if "%MSC_VER%" == "1200" (
 set ProjectFile=%HotSpotBuildSpace%\jvm.dsp
 echo Will generate VC6 project {unsupported}
@@ -96,11 +97,17 @@
 echo Will generate VC10 {Visual Studio 2010}
 set ProjectFile=%HotSpotBuildSpace%\jvm.vcxproj
 ) else (
+if "%MSC_VER%" == "1700" (
+echo Will generate VC10 {compatible with Visual Studio 2012}
+echo After opening in VS 2012, click "Update" when prompted.
+set ProjectFile=%HotSpotBuildSpace%\jvm.vcxproj
+) else (
 echo Will generate VC7 project {Visual Studio 2003 .NET}
 )
 )
 )
 )
+)
 echo %ProjectFile%
 echo **************************************************************
 
--- a/hotspot/make/windows/makefiles/rules.make	Mon Aug 26 18:34:29 2013 -0700
+++ b/hotspot/make/windows/makefiles/rules.make	Tue Aug 27 03:35:46 2013 -0400
@@ -69,6 +69,13 @@
 VcVersion=VC10
 ProjectFile=jvm.vcxproj
 
+!elseif "$(MSC_VER)" == "1700"
+# This is VS2012, but it loads VS10 projects just fine (and will
+# upgrade them automatically to VS2012 format).
+
+VcVersion=VC10
+ProjectFile=jvm.vcxproj
+
 !else
 
 VcVersion=VC7