Commit 0c74e8a0 authored by Simon Giesecke's avatar Simon Giesecke

Problem: cmake install is not tested

Solution: run cmake --build --target install instead of msbuild to build on appveyor
parent a1efc685
...@@ -115,10 +115,11 @@ before_build: ...@@ -115,10 +115,11 @@ before_build:
- cmd: cd "%LIBZMQ_SRCDIR%" - cmd: cd "%LIBZMQ_SRCDIR%"
build_script: build_script:
- cmd: set verbosity=Minimal - cmd: if "%MSVCYEAR%"=="vs2008" (
- cmd: if "%MSVCYEAR%"=="vs2008" set verbosity=Normal cmake --build %LIBZMQ_BUILDDIR% --config %configuration% --target install
- cmd: if "%MSVCYEAR%"=="vs2008" set path=C:\Windows\Microsoft.NET\Framework\v3.5;%path% ) else (
- cmd: msbuild C:\projects\build_libzmq\ZeroMQ.sln /verbosity:%verbosity% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" cmake --build %LIBZMQ_BUILDDIR% --config %configuration% --target install -- -verbosity:Minimal -maxcpucount -logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
)
# TODO this does not work with sonarcloud.io, as it misses the sonar-cxx plugin # TODO this does not work with sonarcloud.io, as it misses the sonar-cxx plugin
# build_script: # build_script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment