1941-docker-image-to-testdevel
|
Last change
on this file since daa0401 was
daa0401,
checked in by Pedro Gea <pgea@…>, 13 years ago
|
|
Refs #1710
Se modifica la búsqueda del archivo SetEnv.cmd para buscar en algún directorio de programas del tipo "Microsoft*SDK*".
Se cambia la plataforma a "x86".
Se cambia el modo a "/RELEASE" .
git-svn-id: https://www.tol-project.org/svn/tolp/trunk@5948 be4846ae-f051-483a-831f-b64e7d08527f
|
-
Property mode set to
100644
|
|
File size:
759 bytes
|
| Line | |
|---|
| 1 | @Echo Off
|
|---|
| 2 | SetLocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
|
|---|
| 3 | Set _sdkenv=
|
|---|
| 4 | For /F "tokens=*" %%S In ('dir /ad /b "%ProgramFiles%\Microsoft*SDK*"') Do (
|
|---|
| 5 | For /F "tokens=*" %%B In ('dir /s /ad /b "%ProgramFiles%\%%S\*Bin"') Do (
|
|---|
| 6 | If Exist "%%B\SetEnv.cmd" (
|
|---|
| 7 | Echo %%B\SetEnv.cmd
|
|---|
| 8 | Set _sdkenv=%%B\SetEnv.cmd
|
|---|
| 9 | )
|
|---|
| 10 | )
|
|---|
| 11 | )
|
|---|
| 12 | If Defined _sdkenv (
|
|---|
| 13 | EndLocal
|
|---|
| 14 | For /D %%d In (%SystemRoot%) Do (
|
|---|
| 15 | If /I "%%~dd\WINDOWS"=="%SystemRoot%" (
|
|---|
| 16 | Set plat=/x86
|
|---|
| 17 | ) Else (
|
|---|
| 18 | Set plat=/2000jym
|
|---|
| 19 | )
|
|---|
| 20 | )
|
|---|
| 21 | call "%_sdkenv%" !plat! /RELEASE
|
|---|
| 22 | Set plat=
|
|---|
| 23 | SetLocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
|
|---|
| 24 | ) Else (
|
|---|
| 25 | Echo "Error: No se pudo encontrar SetEnv.cmd para habilitar el entorno de Microsoft platform SDK"
|
|---|
| 26 | Pause
|
|---|
| 27 | )
|
|---|
| 28 | EndLocal |
|---|
Note: See
TracBrowser
for help on using the repository browser.