blob: 3289e43a994487aa43d0982e76779f5187d6b18e (
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 LIBVPXFILENAME=libvpx_v1.8.2_msvc16.7z
SET LIBVPXFOLDER=libvpx_v1.8.2_msvc16
@echo ************************************
@echo * Unpack libvpx_v1.8.2 for VS 2019 (%LIBVPXFILENAME%)
@echo ************************************
@if exist ..\%LIBVPXFOLDER% goto existlibvpx
call 7z.exe x -y %LIBVPXFILENAME% -o../
@pause
goto :exit
:missing7-Zip
@echo 7-Zip archive tool not detected.
@pause
@exit
goto :eof
:existlibvpx
@echo libvpx_v1.8.2 for VS 2019 folder already exists. Unpack operation is aborted.
@pause
@exit
goto :eof
::-----------------------------------------------------------------------------
:: EXIT
::-----------------------------------------------------------------------------
:exit
endlocal & exit /b %rc%
|