diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-24 17:55:54 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-24 17:55:54 +0000 |
commit | bbeb6ac1d9a4c8ff4ac0d1167d6875afae097393 (patch) | |
tree | 456738344ce070a04c7ffb80438ff781afe26688 /appveyor.yml | |
parent | f610e55c5c6ed4c5aa206b4ed77a51ad9fa9e7a2 (diff) |
Build release libs as well as debug in Appveyor, and link the right ones into boxbackup.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml index 6038314d..6d85e59c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -61,7 +61,10 @@ install: - 7za x zlib128.zip - cd zlib-1.2.8 - cmake -G "%Generator%" -A %PLATFORM% -DCMAKE_INSTALL_PREFIX="..\zlib-%PLATFORM%" . + # We need to build both versions, debug and release, because cmake requires both to be + # present to generate its multi-configuration project files for Visual Studio/MSBuild. - msbuild INSTALL.vcxproj /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + - msbuild INSTALL.vcxproj /m /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" - cd %APPVEYOR_BUILD_FOLDER%\.. - ps: Start-FileDownload "https://www.openssl.org/source/openssl-$($env:OPENSSL_VERSION).tar.gz" @@ -80,7 +83,10 @@ install: - cd pcre-8.38 - cmake -G "%Generator%" -A %PLATFORM% -DCMAKE_INSTALL_PREFIX="..\pcre-%PLATFORM%" . - dir + # We need to build both versions, debug and release, because cmake requires both to be + # present to generate its multi-configuration project files for Visual Studio/MSBuild. - msbuild INSTALL.vcxproj /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + - msbuild INSTALL.vcxproj /m /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" - cd %APPVEYOR_BUILD_FOLDER%\.. - dir - dir pcre-%PLATFORM% |