diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-05-25 08:55:09 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-05-29 10:04:43 +0200 |
commit | 6da44edfd2a55e61c7271df1f1a05868670145b1 (patch) | |
tree | 8eb266c123ab6ca14f71c49b6212b0b47e6bdf37 /appveyor.yml | |
parent | 44ea2bef38f3f66f6c4f2ef5f965c7008e628c26 (diff) | |
download | curl-6da44edfd2a55e61c7271df1f1a05868670145b1.tar.gz |
appveyor: add Visual Studio solution build
Closes https://github.com/curl/curl/pull/3941
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 7e7cfc18d..a809fb917 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -92,6 +92,11 @@ environment: DISABLED_TESTS: "" COMPILER_PATH: "C:\\MinGW\\bin" MSYS2_ARG_CONV_EXCL: "/*" + - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" + BUILD_SYSTEM: VisualStudioSolution + PRJ_CFG: "DLL Debug - DLL Windows SSPI - DLL WinIDN" + TESTING: OFF + VC_VERSION: VC15 install: - set "PATH=C:\msys64\usr\bin;%PATH%" @@ -113,7 +118,11 @@ build_script: -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG="" -DCMAKE_INSTALL_PREFIX="C:/CURL" -DCMAKE_BUILD_TYPE=%PRJ_CFG% && - cmake --build . --config %PRJ_CFG% --clean-first ) + cmake --build . --config %PRJ_CFG% --clean-first ) else ( + if %BUILD_SYSTEM%==VisualStudioSolution ( + cd projects && + .\\generate.bat %VC_VERSION% && + msbuild.exe /p:Configuration="%PRJ_CFG%" "Windows\\%VC_VERSION%\\curl-all.sln" )) test_script: - if %TESTING%==ON ( |