mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
bb2363acc5
[Changelog] Update vcpkg to the latests master (27.03.21). This will speedup initial setup because it uses prebuild vcpkg.exe
36 lines
952 B
Batchfile
36 lines
952 B
Batchfile
git submodule update --init
|
|
git submodule update --recursive
|
|
cd ..
|
|
cd ..
|
|
git clone https://github.com/microsoft/vcpkg.git ScreenPlay-vcpkg
|
|
cd ScreenPlay-vcpkg
|
|
git pull
|
|
rem master 27.03.2021 - 9f6157a
|
|
git checkout 9f6157a
|
|
call bootstrap-vcpkg.bat
|
|
|
|
rem Install vcpkg dependencies
|
|
vcpkg.exe install openssl sentry-native doctest benchmark --triplet x64-windows --recurse
|
|
vcpkg.exe upgrade --no-dry-run
|
|
|
|
cd ..
|
|
cd ScreenPlay
|
|
|
|
rem Download 7-zip
|
|
curl.exe -L https://www.7-zip.org/a/7z1900.msi --ssl-no-revoke --output 7z.msi
|
|
rem Extract 7z
|
|
msiexec /a 7z.msi /qb TARGETDIR="%cd%\7z"
|
|
|
|
rem Donwload ffmpeg
|
|
curl.exe -L https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z --ssl-no-revoke --output ffmpeg.7z
|
|
rem Extract ffmpeg
|
|
"%cd%\7z\Files\7-Zip\7z.exe" e -y ffmpeg.7z -o"%cd%\Common\ffmpeg" *.exe *.dll -r
|
|
|
|
rem Remove not used ffplay
|
|
DEL Common\ffmpeg\ffplay.exe
|
|
|
|
rem Deleting FFmpeg temp
|
|
DEL ffmpeg.7z
|
|
DEL 7z.msi
|
|
rmdir 7z /s /q
|
|
timeout 5 > NUL |