Include imageformat dependencies with releases (appveyor)
This commit is contained in:
parent
287ee1cd63
commit
84364c9d4f
23
appveyor.yml
23
appveyor.yml
|
@ -125,17 +125,6 @@ after_build:
|
||||||
Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -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-Item -path "$CMAKE_SOURCE_DIR/README.md" -destination $RELEASE_DIST
|
||||||
|
|
||||||
# copy all the dll dependencies to the release folder
|
|
||||||
. "./.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 "$file" -force -destination "$RELEASE_DIST"
|
|
||||||
}
|
|
||||||
|
|
||||||
# copy the qt windows plugin dll to platforms
|
# copy the qt windows plugin dll to platforms
|
||||||
Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms"
|
Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms"
|
||||||
|
|
||||||
|
@ -144,6 +133,18 @@ after_build:
|
||||||
|
|
||||||
# copy the qt jpeg imageformat dll to platforms
|
# copy the qt jpeg imageformat dll to platforms
|
||||||
Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/imageformats/qjpeg.dll" -force -destination "$RELEASE_DIST/imageformats"
|
Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/imageformats/qjpeg.dll" -force -destination "$RELEASE_DIST/imageformats"
|
||||||
|
|
||||||
|
# copy all the dll dependencies to the release folder
|
||||||
|
. "./.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"
|
||||||
|
$MingwDLLs += RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\imageformats\qjpeg.dll"
|
||||||
|
Write-Host "Detected the following dependencies:"
|
||||||
|
Write-Host $MingwDLLs
|
||||||
|
foreach ($file in $MingwDLLs) {
|
||||||
|
Copy-Item -path "$file" -force -destination "$RELEASE_DIST"
|
||||||
|
}
|
||||||
|
|
||||||
7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\*
|
7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\*
|
||||||
7z a $MINGW_SEVENZIP $RELEASE_DIST
|
7z a $MINGW_SEVENZIP $RELEASE_DIST
|
||||||
|
|
Loading…
Reference in New Issue