Ignore:
Timestamp:
Jul 17, 2013, 3:40:37 PM (13 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
da64f0b
Parents:
5a2cca4
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • windows/build_tools/sdkenv.bat

    r5a2cca4 rdaa0401  
    22SetLocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
    33Set _sdkenv=
    4 For /D %%d In ("%ProgramFiles%\Microsoft Platform SDK*") Do (
    5   Echo %%d
    6   If Exist "%%d\SetEnv.cmd" (
    7     Set _sdkenv=%%d\SetEnv.cmd
     4For /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    )
    810  )
    911)
    … …  
    1214  For /D %%d In (%SystemRoot%) Do (
    1315    If /I "%%~dd\WINDOWS"=="%SystemRoot%" (
    14       Set plat=/XP32
     16      Set plat=/x86
    1517    ) Else (
    1618      Set plat=/2000jym
    1719    )
    1820  )
    19   call "%_sdkenv%" !plat! /RETAIL
     21  call "%_sdkenv%" !plat! /RELEASE
    2022  Set plat=
    2123  SetLocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
Note: See TracChangeset for help on using the changeset viewer.