Copy OpenSSL libraries to the output (#215)

[skip travis]
This commit is contained in:
Friedrich von Never 2018-11-12 00:37:28 +07:00 committed by Stanislav Ershov
parent 4fd2f16142
commit 9d4a8596dc
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
param (
$VcpkgPath = 'c:\tools\vcpkg\',
$VcpkgPlatform = 'x64-windows'
)
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
function Pack-Files($ext, $includeExe, $targetPath, $archiveName) { function Pack-Files($ext, $includeExe, $targetPath, $archiveName) {
@ -11,6 +16,8 @@ function Pack-Files($ext, $includeExe, $targetPath, $archiveName) {
Copy-Item $env:QT_DIR\plugins\imageformats\qwebp.$ext $targetPath\imageformats\ Copy-Item $env:QT_DIR\plugins\imageformats\qwebp.$ext $targetPath\imageformats\
Copy-Item $env:QT_DIR\plugins\imageformats\qjpeg.$ext $targetPath\imageformats\ Copy-Item $env:QT_DIR\plugins\imageformats\qjpeg.$ext $targetPath\imageformats\
Copy-Item $env:QT_DIR\plugins\platforms\qwindows.$ext $targetPath\platforms\ Copy-Item $env:QT_DIR\plugins\platforms\qwindows.$ext $targetPath\platforms\
Copy-Item $VcpkgPath\installed\$VcpkgPlatform\bin\ssleay32.$ext $targetPath\
Copy-Item $VcpkgPath\installed\$VcpkgPlatform\bin\libeay32.$ext $targetPath\
$itemsToPack = @("$targetPath\*.$ext", "$targetPath\platforms\*.$ext", "$targetPath\imageformats\*.$ext") $itemsToPack = @("$targetPath\*.$ext", "$targetPath\platforms\*.$ext", "$targetPath\imageformats\*.$ext")
if ($includeExe) { if ($includeExe) {