diff --git a/appveyor-artifacts.cmd b/appveyor-artifacts.cmd index 29e05dd46..5147ccf32 100644 --- a/appveyor-artifacts.cmd +++ b/appveyor-artifacts.cmd @@ -1,5 +1,5 @@ @ECHO OFF -if not "%compiler%" == "msvc2013" exit /b 0 +if not "%compiler%" == "msvc2015" exit /b 0 if not "%configuration%" == "Release" exit /b 0 cpack --version diff --git a/appveyor.cmd b/appveyor.cmd index 98fece6c9..0d934019b 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,15 +1,15 @@ @ECHO OFF cmake --version -if "%compiler%" == "msvc2013" goto :msvc2013 +if "%compiler%" == "msvc2015" goto :msvc2015 if "%compiler%" == "mingw-w64" goto :mingw-w64 echo *** ERROR: Unsupported compiler '%compiler%'. exit /b 1 -:msvc2013 +:msvc2015 set PreferredToolArchitecture=x64 -set "CMAKE_GENERATOR=Visual Studio 12 2013" -set CMAKE_GENERATOR_TOOLSET=v120_xp +set "CMAKE_GENERATOR=Visual Studio 14 2015" +set CMAKE_GENERATOR_TOOLSET=v140_xp if "%platform%" == "x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64" mkdir build cd build diff --git a/appveyor.yml b/appveyor.yml index 57f79a14f..3c1d0a097 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,19 +26,19 @@ environment: matrix: - platform: x86 configuration: Debug - compiler: msvc2013 + compiler: msvc2015 - platform: x86 configuration: Release - compiler: msvc2013 + compiler: msvc2015 - platform: x64 configuration: Debug - compiler: msvc2013 + compiler: msvc2015 - platform: x64 configuration: Release - compiler: msvc2013 + compiler: msvc2015 - platform: x86 configuration: Debug