mirror of https://github.com/mgba-emu/mgba.git
23 lines
726 B
YAML
23 lines
726 B
YAML
image:
|
|
- Visual Studio 2019
|
|
platform:
|
|
- x64
|
|
configuration:
|
|
- Release
|
|
install:
|
|
- git -C C:\Tools\vcpkg clean -dfq docs ports scripts toolsrc triplets versions
|
|
- git -C C:\Tools\vcpkg pull --force --quiet
|
|
- C:\Tools\vcpkg\bootstrap-vcpkg
|
|
- vcpkg --triplet x64-windows-release --recurse install ffmpeg libepoxy libpng libzip lua sdl2 sqlite3
|
|
- vcpkg --no-dry-run upgrade
|
|
- rd /Q /S C:\Tools\vcpkg\buildtrees
|
|
before_build:
|
|
- cmake . -DCMAKE_PREFIX_PATH=C:\Qt\5.15\msvc2019_64 \
|
|
-DCMAKE_TOOLCHAIN_FILE=C:\Tools\vcpkg\scripts\buildsystems\vcpkg.cmake \
|
|
-DVCPKG_TARGET_TRIPLET=x64-windows-release \
|
|
-DCMAKE_CONFIGURATION_TYPES=Release \
|
|
-DCMAKE_SYSTEM_VERSION=10.0.22000.1
|
|
build:
|
|
parallel: true
|
|
project: mGBA.sln
|