summaryrefslogtreecommitdiffstats
path: root/TOOLS/appveyor-build.sh
blob: 8e16fbeee1367e7ac1e515b032bc49019fb5f2b4 (plain)
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
#!/usr/bin/bash
set -e

export DEST_OS=win32
export CC=gcc
export PKG_CONFIG=/usr/bin/pkg-config
export PERL=/usr/bin/perl
export PYTHON=/usr/bin/python3

"$PYTHON" bootstrap.py
"$PYTHON" waf configure \
    --check-c-compiler=gcc \
    --enable-spirv-cross \
    --enable-d3d-hwaccel \
    --enable-d3d11 \
    --enable-jpeg \
    --enable-lcms2 \
    --enable-libarchive \
    --enable-libass \
    --enable-lua \
    --enable-rubberband \
    --enable-shaderc \
    --enable-uchardet \
    --enable-vulkan
"$PYTHON" waf build