Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Commit

Permalink
appveyor: acquire ffmpeg from zeranoe and include
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed Jan 19, 2020
1 parent 7948af1 commit 649ee04
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions appveyor-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ cd c:\tools\vcpkg
vcpkg integrate install
cd %APPVEYOR_BUILD_FOLDER%

REM Add Qt directory to path
set PATH=%PATH%;C:\Qt\5.13.2\msvc2017_64
REM Acquire FFmpeg
set FFMPEG_VER=ffmpeg-4.2.1-win64
curl https://ffmpeg.zeranoe.com/builds/win64/dev/%FFMPEG_VER%-dev.zip > %FFMPEG_VER%-dev.zip
curl https://ffmpeg.zeranoe.com/builds/win64/shared/%FFMPEG_VER%-shared.zip > %FFMPEG_VER%-shared.zip
7z x %FFMPEG_VER%-dev.zip
7z x %FFMPEG_VER%-shared.zip

REM Add Qt and FFmpeg directory to path
set PATH=%PATH%;C:\Qt\5.13.2\msvc2017_64\bin;%APPVEYOR_BUILD_FOLDER%\%FFMPEG_VER%-dev

REM Run cmake
cmake -G "NMake Makefiles" . -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
Expand Down

0 comments on commit 649ee04

Please sign in to comment.