From 258adbcfcac0a325453c99567bd292147bd3f8b4 Mon Sep 17 00:00:00 2001 From: algoRhythm99 Date: Mon, 31 Jan 2022 21:26:38 -0600 Subject: [PATCH] Visual Studio 2022 build support Bare minimum changes to get it building out of the box in Visual Studio 2022 community --- .../frontend/interface/windows/DeSmuME_Interface.vcxproj | 6 ++++++ desmume/src/frontend/interface/windows/desmume.props | 2 ++ desmume/src/frontend/windows/DeSmuME.vcxproj | 6 ++++++ desmume/src/frontend/windows/desmume.props | 4 +++- 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/desmume/src/frontend/interface/windows/DeSmuME_Interface.vcxproj b/desmume/src/frontend/interface/windows/DeSmuME_Interface.vcxproj index 4f1046fcb..35638797a 100644 --- a/desmume/src/frontend/interface/windows/DeSmuME_Interface.vcxproj +++ b/desmume/src/frontend/interface/windows/DeSmuME_Interface.vcxproj @@ -47,9 +47,15 @@ 8.1 + + 10.0 + + + v143 + v142 diff --git a/desmume/src/frontend/interface/windows/desmume.props b/desmume/src/frontend/interface/windows/desmume.props index e7661a042..9fbd58faf 100644 --- a/desmume/src/frontend/interface/windows/desmume.props +++ b/desmume/src/frontend/interface/windows/desmume.props @@ -22,11 +22,13 @@ 14 15 16 + 17 VS2010 VS2015 VS2017 VS2019 + VS2022 diff --git a/desmume/src/frontend/windows/DeSmuME.vcxproj b/desmume/src/frontend/windows/DeSmuME.vcxproj index f6aadc49c..abf978664 100644 --- a/desmume/src/frontend/windows/DeSmuME.vcxproj +++ b/desmume/src/frontend/windows/DeSmuME.vcxproj @@ -30,9 +30,15 @@ 8.1 + + 10.0 + + + v143 + v142 diff --git a/desmume/src/frontend/windows/desmume.props b/desmume/src/frontend/windows/desmume.props index 9e7917cdc..9b345fdff 100644 --- a/desmume/src/frontend/windows/desmume.props +++ b/desmume/src/frontend/windows/desmume.props @@ -22,11 +22,13 @@ 14 15 16 + 17 VS2010 VS2015 VS2017 VS2019 + VS2022 @@ -86,7 +88,7 @@ - "%windir%\Sysnative\cscript" /nologo /E:JScript "defaultconfig\make_scmrev.h.js" + "%windir%\system32\cscript" /nologo /E:JScript "defaultconfig\make_scmrev.h.js"