unpack_libvpx_v1.8.2_msvc16.cmd 866 B

1234567891011121314151617181920212223242526272829303132333435
  1. @if not exist "c:\Program Files\7-Zip\7z.exe" goto missing7-Zip
  2. SET PATH=c:\Program Files\7-Zip\;%PATH%
  3. SET LIBVPXFILENAME=libvpx_v1.8.2_msvc16.7z
  4. SET LIBVPXFOLDER=libvpx_v1.8.2_msvc16
  5. @echo ************************************
  6. @echo * Unpack libvpx_v1.8.2 for VS 2019 (%LIBVPXFILENAME%)
  7. @echo ************************************
  8. @if exist ..\%LIBVPXFOLDER% goto existlibvpx
  9. call 7z.exe x -y %LIBVPXFILENAME% -o../
  10. @pause
  11. goto :exit
  12. :missing7-Zip
  13. @echo 7-Zip archive tool not detected.
  14. @pause
  15. @exit
  16. goto :eof
  17. :existlibvpx
  18. @echo libvpx_v1.8.2 for VS 2019 folder already exists. Unpack operation is aborted.
  19. @pause
  20. @exit
  21. goto :eof
  22. ::-----------------------------------------------------------------------------
  23. :: EXIT
  24. ::-----------------------------------------------------------------------------
  25. :exit
  26. endlocal & exit /b %rc%