summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-27 01:15:39 +0200
committerGitHub <noreply@github.com>2018-03-27 01:15:39 +0200
commit010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48 (patch)
tree51736e0ccf202076ececbc62905dffe9a76a9d15 /appveyor.yml
parentMerge pull request #280 from bunnei/misc-service-fixes (diff)
parentImplement Citra pull 3043 (diff)
downloadyuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.tar
yuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.tar.gz
yuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.tar.bz2
yuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.tar.lz
yuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.tar.xz
yuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.tar.zst
yuzu-010ea89013d1c2fb30c2368b3fc56dcbbb7eaa48.zip
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml23
1 files changed, 8 insertions, 15 deletions
diff --git a/appveyor.yml b/appveyor.yml
index fe6b649f5..72cda26a7 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -121,23 +121,16 @@ after_build:
Get-ChildItem "$CMAKE_BINARY_DIR" -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST
Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -destination $RELEASE_DIST
Copy-Item -path "$CMAKE_SOURCE_DIR/README.md" -destination $RELEASE_DIST
+
# copy all the dll dependencies to the release folder
- # hardcoded list because we don't build static and determining the list of dlls from the binary is a pain.
- $MingwDLLs = "Qt5Core.dll","Qt5Widgets.dll","Qt5Gui.dll","Qt5OpenGL.dll",
- # QT dll dependencies
- "libbz2-*.dll","libicudt*.dll","libicuin*.dll","libicuuc*.dll","libffi-*.dll",
- "libfreetype-*.dll","libglib-*.dll","libgobject-*.dll","libgraphite2.dll","libiconv-*.dll",
- "libharfbuzz-*.dll","libintl-*.dll","libpcre-*.dll","libpcre2-16-*.dll","libpcre16-*.dll","libpng16-*.dll",
- # Runtime/Other dependencies
- "libgcc_s_seh-*.dll","libstdc++-*.dll","libwinpthread-*.dll","SDL2.dll","zlib1.dll"
+ . "./.appveyor/UtilityFunctions.ps1"
+ $DLLSearchPath = "C:\msys64\mingw64\bin;$env:PATH"
+ $MingwDLLs = RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\yuzu.exe"
+ $MingwDLLs += RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\yuzu_cmd.exe"
+ Write-Host "Detected the following dependencies:"
+ Write-Host $MingwDLLs
foreach ($file in $MingwDLLs) {
- Copy-Item -path "C:/msys64/mingw64/bin/$file" -force -destination "$RELEASE_DIST"
- }
- # the above list copies a few extra debug dlls that aren't needed (thanks globbing patterns!)
- # so we can remove them by hardcoding another list of extra dlls to remove
- $DebugDLLs = "libicudtd*.dll","libicuind*.dll","libicuucd*.dll"
- foreach ($file in $DebugDLLs) {
- Remove-Item -path "$RELEASE_DIST/$file"
+ Copy-Item -path "$file" -force -destination "$RELEASE_DIST"
}
# copy the qt windows plugin dll to platforms