From c1377ff168df7a925fec9e633071135f5066ad36 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Fri, 23 Aug 2019 10:44:44 +0200 Subject: [PATCH] Problem: appveyor binary archives do not contain import libraries Solution: include all *.lib files --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 8ab05139..08787f3d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -216,10 +216,12 @@ after_build: # -Dsonar.cxx.compiler.reportPath=build.log # -Dsonar.cxx.compiler.charset=UTF-8 # -Dsonar.cxx.compiler.regex=^(?.*)\\((?[0-9]+)\\):\\x20warning\\x20(?C\\d\\d\\d\\d):(?.*)$ +# TODO this should be done differently, using the INSTALL cmake target, the current handling depends on the details of the CMakeLists.txt - cmd: cd %LIBZMQ_BUILDDIR%\bin\%Configuration%" - cmd: if "%WITH_LIBSODIUM%"=="ON" copy "%SODIUM_LIBRARY_DIR%\libsodium.dll" . - cmd: copy "%LIBZMQ_SRCDIR%\include\zmq.h" . - - cmd: 7z a -y -bd -mx=9 libzmq.zip *.exe *.dll *.pdb *.h + - cmd: copy ..\..\lib\%Configuration%\libzmq*.lib . + - cmd: 7z a -y -bd -mx=9 libzmq.zip *.exe *.dll *.pdb *.h *.lib - ps: Push-AppveyorArtifact "libzmq.zip" -Filename "libzmq-${env:ARTIFACT_NAME}-${env:ZMQ_VERSION_MAJOR}_${env:ZMQ_VERSION_MINOR}_${env:ZMQ_VERSION_PATCH}.zip" test_script: