source: tol/windows/build_tools/sdkenv.bat @ f532388

1941-docker-image-to-testdevel
Last change on this file since f532388 was abf9afa, checked in by Jorge Pérez <josp.jorge@…>, 18 years ago

scripts to automate Windows compilation a packaging

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@50 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 641 bytes
Line 
1@Echo Off
2SetLocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
3Set _sdkenv=
4For /D %%d In ("%ProgramFiles%\Microsoft Platform SDK*") Do (
5  Echo %%d
6  If Exist "%%d\SetEnv.cmd" (
7    Set _sdkenv=%%d\SetEnv.cmd
8  )
9)
10If Defined _sdkenv (
11  EndLocal
12  For /D %%d In (%SystemRoot%) Do (
13    If /I "%%~dd\WINDOWS"=="%SystemRoot%" (
14      Set plat=/XP32
15    ) Else (
16      Set plat=/2000jym
17    )
18  )
19  call "%_sdkenv%" !plat! /RETAIL
20  Set plat=
21  SetLocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
22) Else (
23  Echo "Error: No se pudo encontrar SetEnv.cmd para habilitar el entorno de Microsoft platform SDK"
24  Pause
25)
26EndLocal
Note: See TracBrowser for help on using the repository browser.