Mercurial > hg > graal-jvmci-8
comparison make/windows/create.bat @ 659:520d43965b1f
6812297: update project creation for Visual Studio 2005-2008
Summary: Add 2 news classes to create VC8 and VC9 projects
Reviewed-by: apetrusenko, xlu
author | ikrylov |
---|---|
date | Fri, 27 Mar 2009 01:35:39 -0500 |
parents | d1605aabd0a1 |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
658:fe62b51b93f4 | 659:520d43965b1f |
---|---|
70 | 70 |
71 REM figure out MSC version | 71 REM figure out MSC version |
72 for /F %%i in ('sh %HotSpotWorkSpace%/make/windows/get_msc_ver.sh') do set %%i | 72 for /F %%i in ('sh %HotSpotWorkSpace%/make/windows/get_msc_ver.sh') do set %%i |
73 | 73 |
74 echo ************************************************************** | 74 echo ************************************************************** |
75 set ProjectFile=vm.vcproj | |
75 if "%MSC_VER%" == "1200" ( | 76 if "%MSC_VER%" == "1200" ( |
76 set ProjectFile=vm.dsp | 77 set ProjectFile=vm.dsp |
77 echo Will generate VC6 project {unsupported} | 78 echo Will generate VC6 project {unsupported} |
78 ) else ( | 79 ) else ( |
79 set ProjectFile=vm.vcproj | 80 if "%MSC_VER%" == "1400" ( |
80 echo Will generate VC7 project | 81 echo Will generate VC8 {Visual Studio 2005} |
82 ) else ( | |
83 if "%MSC_VER%" == "1500" ( | |
84 echo Will generate VC9 {Visual Studio 2008} | |
85 ) else ( | |
86 echo Will generate VC7 project {Visual Studio 2003 .NET} | |
87 ) | |
88 ) | |
81 ) | 89 ) |
82 echo %ProjectFile% | 90 echo %ProjectFile% |
83 echo ************************************************************** | 91 echo ************************************************************** |
84 | 92 |
85 REM Test all variables to see whether the directories they | 93 REM Test all variables to see whether the directories they |