Changeset 20431
- Timestamp:
- 2009-08-28T16:54:32+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/makegs2.bat
r20183 r20431 6 6 :: Path to VCVARS32.bat -- You can set this variable manually if needed 7 7 :: e.g. set VCVARS="C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" 8 set VCVARS=" "8 set VCVARS="C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" 9 9 10 10 :: Path to Microsoft Platform SDK's SetEnv.cmd -- You can set this variable manually if needed 11 set SDK_ENV=" "11 set SDK_ENV="C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd" 12 12 13 13 … … 85 85 rem Check some known paths to VCVARS32.BAT 86 86 :: if the user has set VCVARS32 don't look in the default places at all 87 IF NOT %VCVARS%=="" GOTO PROMPT87 IF NOT %VCVARS%=="" echo ******* VCVARS set, checking for MS Platform SDK...& GOTO SET_SDK 88 88 89 89 :: Visual Studio 2005 Pro --- NOT READY YET … … 99 99 :: Now VCVARS has been set so it can be used when we need it 100 100 101 :SET_SDK 102 rem Check known path(s) to SetEnv.cmd 103 :: if the user has set SDK_ENV don't look in the default places at all 104 IF NOT %SDK_ENV%=="" GOTO CALL_SDK 105 106 IF EXIST "%programfiles%\Microsoft Platform SDK\SetEnv.cmd" set SDK_ENV="%programfiles%\Microsoft Platform SDK\SetEnv.cmd" 107 108 IF %SDK_ENV%=="" GOTO ENDNOSDKENV 109 110 :CALL_SDK 111 call %SDK_ENV% 112 echo. 113 echo. 114 115 call %VCVARS% 116 echo. 117 echo. 101 118 102 119 :PROMPT … … 124 141 :: Only compile up the Apache web server if we're asked to 125 142 126 rem Check known path(s) to SetEnv.cmd127 :: if the user has set SDK_ENV don't look in the default places at all128 IF NOT %SDK_ENV%=="" GOTO CALL_SDK129 130 IF EXIST "%programfiles%\Microsoft Platform SDK\SetEnv.cmd" set SDK_ENV="%programfiles%\Microsoft Platform SDK\SetEnv.cmd"131 132 IF %SDK_ENV%=="" GOTO ENDNOSDKENV133 134 :CALL_SDK135 call %SDK_ENV%136 echo.137 echo.138 139 call %VCVARS%140 echo.141 echo.142 143 143 :: Now unpack the custom GS2 apache web server tar.gz file 144 144 IF NOT EXIST .\runtime-src\packages\apache-httpd\httpd-2.2.11\nul .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd … … 149 149 150 150 :WITHOUTLOCALLIB 151 call %VCVARS%152 151 echo. 153 152 echo. … … 156 155 157 156 :WITHLOCALLIB 158 call %VCVARS%159 157 echo. 160 158 echo. … … 163 161 164 162 :WITHBOTH 165 call %VCVARS%166 163 echo. 167 164 echo. … … 236 233 echo. 237 234 echo /!\ Error /!\ - Not able to find 'SetEnv.cmd'. 238 echo You need Microsoft Platform SDK to compile up the Apache web server 239 echo but we were unable to find the SDK file SetEnv.cmd on your system. 240 echo. 241 echo Please edit the makegs2.bat file and manually set the full path to 242 echo SetEnv.cmd then run this script again. 235 echo We were unable to find the SDK file SetEnv.cmd on your system. 236 echo You need Microsoft Platform SDK (which is available for free) to compile 237 echo up the Apache web server. You also need it if you're working with 238 echo Microsoft Visual Studio 8 or higher. 239 echo. 240 echo If you already have it installed, please edit the makegs2.bat file and 241 echo manually set the full path to SetEnv.cmd, then run this script again. 242 echo If you have an older version of Visual Studio, then you do not need the 243 echo Platform SDK and can compile the Web and/or Local libraries up from the 244 echo DOS command prompt using: 245 echo nmake /f win32.mak 246 echo and/or 247 echo nmake /f win32.mak LOCAL_LIBRARY=1 243 248 GOTO END 244 249
Note:
See TracChangeset
for help on using the changeset viewer.