summaryrefslogtreecommitdiffstats
path: root/BuildTools/lib/unpack_intel_ipp_6.1.1.035.cmd
blob: e5388c953a1b55502be32f858f85e484d45a0b93 (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 Files\7-Zip\7z.exe" goto missing7-Zip

SET PATH=c:\Program Files\7-Zip\;%PATH%

SET LIBIPPFILENAME=intel_ipp_6.1.1.035.7z
SET LIBIPPFOLDER=intel_ipp_6.1.1.035

@echo ************************************
@echo * Unpack Intel IPP 6.1.1.035 for VS 2019 (%LIBIPPFILENAME%)
@echo ************************************
@if exist ..\%LIBIPPFOLDER% goto existlibipp

call 7z.exe x -y %LIBIPPFILENAME% -o../../../external_dependencies/

@pause
goto :exit

:missing7-Zip
@echo 7-Zip archive tool not detected.
@pause
@exit
goto :eof


:existlibipp
@echo intel_ipp_6.1.1.035 for VS 2019 folder already exists. Unpack operation is aborted.
@pause
@exit
goto :eof
::-----------------------------------------------------------------------------
::                               EXIT
::-----------------------------------------------------------------------------
:exit

endlocal & exit /b %rc%