File: svt.cmd

package info (click to toggle)
libavif 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,956 kB
  • sloc: ansic: 29,303; cpp: 13,260; sh: 1,145; xml: 1,040; java: 307; makefile: 51
file content (24 lines) | stat: -rwxr-xr-x 805 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
: # If you want to use a local build of SVT-AV1, you must clone the SVT-AV1 repo in this directory first,
: # then set CMake's AVIF_CODEC_SVT to LOCAL.
: # cmake must be in your PATH.

: # The odd choice of comment style in this file is to try to share this script between *nix and win32.

: # Switch to a sh-like command if not running in windows
: ; $SHELL svt.sh
: ; exit $?

: # If you're running this on Windows, be sure you've already run this (from your VC2019 install dir):
: #    "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"

git clone -b v3.0.1 --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git

cd SVT-AV1
cd Build/windows

call build.bat release static no-apps
cd ../..
mkdir include\svt-av1
copy Source\API\*.h include\svt-av1

cd ..