From cc4446ab29a7a29b0e0b101a0365bb7ba5ac41e4 Mon Sep 17 00:00:00 2001 From: Jules Anthony Date: Wed, 24 Apr 2019 18:35:44 +0800 Subject: [PATCH] Fixes MSVC2019 solution loading and compiling. Due to 2019 dropping XP support by default, anyone needing XP compiles will need to download the v141 toolkit as an extra and manually configure TargetPlatform and PlatformToolset. --- desmume/src/frontend/windows/DeSmuME.vcxproj | 24 ++++++++----- desmume/src/frontend/windows/desmume.props | 38 +++++++++++--------- 2 files changed, 37 insertions(+), 25 deletions(-) diff --git a/desmume/src/frontend/windows/DeSmuME.vcxproj b/desmume/src/frontend/windows/DeSmuME.vcxproj index 160dee744..fc22e4fec 100644 --- a/desmume/src/frontend/windows/DeSmuME.vcxproj +++ b/desmume/src/frontend/windows/DeSmuME.vcxproj @@ -38,12 +38,20 @@ DeSmuME {9F5F72A1-D3A5-4918-B460-E076B16D10A9} DeSmuME - 8.1 x64 + + 10.0 + + + 8.1 + + + v142 + v141_xp @@ -708,29 +716,29 @@ - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) .libs\directx.tag;%(Outputs) - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) .libs\directx.tag;%(Outputs) - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) .libs\directx.tag;%(Outputs) - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) .libs\directx.tag;%(Outputs) .libs\directx.tag;%(Outputs) - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* - call un7z_and_touch.bat directx\directx.7z .libs\directx* + call un7z_and_touch.bat directx\directx.7z .libs\directx* 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) 7z.exe;un7z_and_touch.bat;%(AdditionalInputs) diff --git a/desmume/src/frontend/windows/desmume.props b/desmume/src/frontend/windows/desmume.props index d904ae9a4..7cd36b38a 100644 --- a/desmume/src/frontend/windows/desmume.props +++ b/desmume/src/frontend/windows/desmume.props @@ -21,10 +21,12 @@ 12 14 15 + 16 VS2010 VS2015 VS2017 + VS2019 @@ -210,13 +212,14 @@ - - - - - - - + + + + + + + - + ]]> + + - - - - - - - - + + + + + + + +