From c95a07a1de6821ef71a106cd4660971c73b8fdec Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 10 May 2020 11:57:50 +0000 Subject: [PATCH] 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. --- README.md | 4 +++- appveyor.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e0f72d..e6b229b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/appveyor.yml b/appveyor.yml index bb4c6d9..e2c632a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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"