Drop support for compiling with Visual Studio 2015

Ahead of the SM68 migration, where we will need to use VS17, drop
support for compiling with VS16.

Refs #5862

Differential Revision: https://code.wildfiregames.com/D3158
This was SVN commit r24286.
This commit is contained in:
wraitii 2020-11-28 16:54:48 +00:00
parent 3b81fff942
commit 416cc90c3e
3 changed files with 4 additions and 7 deletions

View File

@ -394,8 +394,6 @@ function project_create(project_name, target_type)
language "C++"
kind(target_type)
filter "action:vs2015"
toolset "v140_xp"
filter "action:vs2017"
toolset "v141_xp"
filter {}
@ -893,7 +891,7 @@ function setup_all_libs ()
end
-- runtime-library-specific
if _ACTION == "vs2015" or _ACTION == "vs2017" then
if _ACTION == "vs2017" then
table.insert(source_dirs, "lib/sysdep/rtl/msc");
else
table.insert(source_dirs, "lib/sysdep/rtl/gcc");

View File

@ -2,6 +2,5 @@
rem ** Create Visual Studio Workspaces on Windows **
cd ..\premake
if not exist ..\workspaces\vc2015\SKIP_PREMAKE_HERE premake5\bin\release\premake5 --outpath="../workspaces/vc2015" --use-shared-glooxwrapper %* vs2015
if not exist ..\workspaces\vc2017\SKIP_PREMAKE_HERE premake5\bin\release\premake5 --outpath="../workspaces/vs2017" --use-shared-glooxwrapper %* vs2017
if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5\bin\release\premake5 --outpath="../workspaces/vs2017" --use-shared-glooxwrapper %* vs2017
cd ..\workspaces

View File

@ -41,8 +41,8 @@
// must come before any STL headers are included
#if MSC_VERSION
# if MSC_VERSION < 1900
# error "Visual Studio 2015 is the minimal supported version"
# if MSC_VERSION < 1910
# error "Visual Studio 2017 is the minimal supported version"
# endif
# ifdef NDEBUG // release: disable all checks
# define _HAS_ITERATOR_DEBUGGING 0