Overview
| SHA1 Hash: | 43155b1543bddbb84a8bc13a5b7344b228ddacb9 |
|---|---|
| Date: | 2012-10-05 07:36:34 |
| User: | mistachkin |
| Comment: | Rename a tool batch file subroutine to avoid confusion about its purpose. |
Tags And Properties
- branch=trunk inherited from [704b122e53]
- sym-trunk inherited from [704b122e53]
Changes
Changes to tool/build-all-msvc.bat
138 REM 138 REM 139 FOR %%P IN (%PLATFORMS%) DO ( 139 FOR %%P IN (%PLATFORMS%) DO ( 140 REM 140 REM 141 REM NOTE: Using the MSVC platform name, lookup the simpler platform name to 141 REM NOTE: Using the MSVC platform name, lookup the simpler platform name to 142 REM be used for the name of the platform-specific binary directory via 142 REM be used for the name of the platform-specific binary directory via 143 REM the environment variables setup earlier. 143 REM the environment variables setup earlier. 144 REM 144 REM 145 CALL :fn_SetVariable %%P_NAME PLATFORMNAME | 145 CALL :fn_CopyVariable %%P_NAME PLATFORMNAME 146 146 147 REM 147 REM 148 REM NOTE: This is the inner loop. There should be exactly one iteration. 148 REM NOTE: This is the inner loop. There should be exactly one iteration. 149 REM This loop is necessary because the PlatformName environment 149 REM This loop is necessary because the PlatformName environment 150 REM variable was set above and that value is needed by some of the 150 REM variable was set above and that value is needed by some of the 151 REM commands contained in the inner loop. If these commands were 151 REM commands contained in the inner loop. If these commands were 152 REM directly contained in the outer loop, the PlatformName environment 152 REM directly contained in the outer loop, the PlatformName environment ................................................................................................................................................................................ 226 REM WindowsSdkDir environment variable because that location does 226 REM WindowsSdkDir environment variable because that location does 227 REM not actually contain the necessary library files for x86. 227 REM not actually contain the necessary library files for x86. 228 REM This must be done for each iteration because it relies upon 228 REM This must be done for each iteration because it relies upon 229 REM the WindowsSdkDir environment variable being set by the batch 229 REM the WindowsSdkDir environment variable being set by the batch 230 REM file used to setup the MSVC environment. 230 REM file used to setup the MSVC environment. 231 REM 231 REM 232 IF DEFINED SET_NSDKLIBPATH ( 232 IF DEFINED SET_NSDKLIBPATH ( 233 CALL :fn_SetVariable WindowsSdkDir NSDKLIBPATH | 233 CALL :fn_CopyVariable WindowsSdkDir NSDKLIBPATH 234 CALL :fn_AppendVariable NSDKLIBPATH \lib\win8\um\x86 234 CALL :fn_AppendVariable NSDKLIBPATH \lib\win8\um\x86 235 ) 235 ) 236 236 237 REM 237 REM 238 REM NOTE: Unless prevented from doing so, invoke NMAKE with the MSVC 238 REM NOTE: Unless prevented from doing so, invoke NMAKE with the MSVC 239 REM makefile to clean any stale build output from previous 239 REM makefile to clean any stale build output from previous 240 REM iterations of this loop and/or previous runs of this batch 240 REM iterations of this loop and/or previous runs of this batch ................................................................................................................................................................................ 335 VERIFY > NUL 335 VERIFY > NUL 336 GOTO :EOF 336 GOTO :EOF 337 337 338 :fn_SetErrorLevel 338 :fn_SetErrorLevel 339 VERIFY MAYBE 2> NUL 339 VERIFY MAYBE 2> NUL 340 GOTO :EOF 340 GOTO :EOF 341 341 342 :fn_SetVariable | 342 :fn_CopyVariable 343 SETLOCAL 343 SETLOCAL 344 IF NOT DEFINED %1 GOTO :EOF 344 IF NOT DEFINED %1 GOTO :EOF 345 IF "%2" == "" GOTO :EOF 345 IF "%2" == "" GOTO :EOF 346 SET __ECHO_CMD=ECHO %%%1%% 346 SET __ECHO_CMD=ECHO %%%1%% 347 FOR /F "delims=" %%V IN ('%__ECHO_CMD%') DO ( 347 FOR /F "delims=" %%V IN ('%__ECHO_CMD%') DO ( 348 SET VALUE=%%V 348 SET VALUE=%%V 349 ) 349 )