hotspot/make/windows/create.bat
changeset 25052 66e77563d9e7
parent 19687 30bef3e4f058
child 35183 30271b37bd14
equal deleted inserted replaced
25051:8110ec6e7340 25052:66e77563d9e7
     1 @echo off
     1 @echo off
     2 REM
     2 REM
     3 REM Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     3 REM Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 REM
     5 REM
     6 REM This code is free software; you can redistribute it and/or modify it
     6 REM This code is free software; you can redistribute it and/or modify it
     7 REM under the terms of the GNU General Public License version 2 only, as
     7 REM under the terms of the GNU General Public License version 2 only, as
     8 REM published by the Free Software Foundation.
     8 REM published by the Free Software Foundation.
    79 
    79 
    80 REM figure out MSC version
    80 REM figure out MSC version
    81 for /F %%i in ('sh %HotSpotWorkSpace%/make/windows/get_msc_ver.sh') do set %%i
    81 for /F %%i in ('sh %HotSpotWorkSpace%/make/windows/get_msc_ver.sh') do set %%i
    82 
    82 
    83 echo **************************************************************
    83 echo **************************************************************
    84 set ProjectFile=%HotSpotBuildSpace%\jvm.vcproj
       
    85 echo MSC_VER = "%MSC_VER%" 
    84 echo MSC_VER = "%MSC_VER%" 
    86 if "%MSC_VER%" == "1200" (
       
    87 set ProjectFile=%HotSpotBuildSpace%\jvm.dsp
       
    88 echo Will generate VC6 project {unsupported}
       
    89 ) else (
       
    90 if "%MSC_VER%" == "1400" (
       
    91 echo Will generate VC8 {Visual Studio 2005}
       
    92 ) else (
       
    93 if "%MSC_VER%" == "1500" (
       
    94 echo Will generate VC9 {Visual Studio 2008}
       
    95 ) else (
       
    96 if "%MSC_VER%" == "1600" (
       
    97 echo Will generate VC10 {Visual Studio 2010}
       
    98 set ProjectFile=%HotSpotBuildSpace%\jvm.vcxproj
    85 set ProjectFile=%HotSpotBuildSpace%\jvm.vcxproj
    99 ) else (
       
   100 if "%MSC_VER%" == "1700" (
       
   101 echo Will generate VC10 {compatible with Visual Studio 2012}
       
   102 echo After opening in VS 2012, click "Update" when prompted.
       
   103 set ProjectFile=%HotSpotBuildSpace%\jvm.vcxproj
       
   104 ) else (
       
   105 echo Will generate VC7 project {Visual Studio 2003 .NET}
       
   106 )
       
   107 )
       
   108 )
       
   109 )
       
   110 )
       
   111 echo %ProjectFile%
    86 echo %ProjectFile%
   112 echo **************************************************************
    87 echo **************************************************************
   113 
    88 
   114 REM Test all variables to see whether the directories they
    89 REM Test all variables to see whether the directories they
   115 REM reference exist
    90 REM reference exist