blob: 965fa01ce1215e0a95a230ace43912bc01c12c89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
@if not exist "c:Program Files7-Zip7z.exe" goto missing7-Zip
SET PATH=c:\Program Files\7-Zip\;%PATH%
SET DIRECTXFILENAME=microsoft_directx_sdk_2010.7z
SET DIRECTXFOLDER=microsoft_directx_sdk_2010
@echo ************************************
@echo * Unpack Microsoft DirectX SDK (June 2010) (%DIRECTXFILENAME%)
@echo ************************************
@if exist ..\%DIRECTXFOLDER% goto existdirectx
call 7z.exe x -y %DIRECTXFILENAME% -o../../../external_dependencies/
@pause
goto :exit
:missing7-Zip
@echo 7-Zip archive tool not detected.
@pause
@exit
goto :eof
:existdirectx
@echo Microsoft DirectX SDK (June 2010) folder already exists. Unpack operation is aborted.
@pause
@exit
goto :eof
::-----------------------------------------------------------------------------
:: EXIT
::-----------------------------------------------------------------------------
:exit
endlocal & exit /b %rc%
|