Win32: when building with MSVC, require VS2015.

VS2013 does not have constexpr support and in general is quite buggy.
There's no reason to use it anymore as even XP toolsets are available
for VS2015 and VS2017.
pull/607/head
whitequark 2020-05-10 11:57:50 +00:00
parent cd30e04134
commit c95a07a1de
2 changed files with 4 additions and 2 deletions

View File

@ -203,7 +203,9 @@ by passing the `-DENABLE_GUI=OFF` flag to the cmake invocation.
Building on Windows
-------------------
You will need [git][gitwin], [cmake][cmakewin] and Visual C++.
You will need [git][gitwin], [cmake][cmakewin] and a C++ compiler
(either Visual C++ or MinGW). If using Visual C++, Visual Studio 2015
or later is required.
### Building with Visual Studio IDE

View File

@ -5,7 +5,7 @@ before_build:
- set tag=x%APPVEYOR_REPO_TAG_NAME%
- if %tag:~,2% == xv (set BUILD_TYPE=RelWithDebInfo) else (set BUILD_TYPE=Debug)
- mkdir build
- cmake -G"Visual Studio 12" -Tv120 -Bbuild -H.
- cmake -G"Visual Studio 14" -Tv140 -Bbuild -H.
build_script:
- msbuild "build\src\solvespace.vcxproj" /verbosity:minimal /property:Configuration=%BUILD_TYPE% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild "build\src\solvespace-cli.vcxproj" /verbosity:minimal /property:Configuration=%BUILD_TYPE% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"