msvc: update to vs2022 and windows sdk 10.0.22000
This commit is contained in:
parent
aa6db1e029
commit
4008188654
|
@ -39,9 +39,9 @@ Dolphin can only be installed on devices that satisfy the above requirements. At
|
||||||
## Building for Windows
|
## Building for Windows
|
||||||
|
|
||||||
Use the solution file `Source/dolphin-emu.sln` to build Dolphin on Windows.
|
Use the solution file `Source/dolphin-emu.sln` to build Dolphin on Windows.
|
||||||
Visual Studio 2019 16.3 or later is a hard requirement. Other compilers might be
|
Visual Studio 2022 17.0 or later is a hard requirement. Other compilers might be
|
||||||
able to build Dolphin on Windows but have not been tested and are not
|
able to build Dolphin on Windows but have not been tested and are not
|
||||||
recommended to be used. Git and Windows 10 SDK must be installed when building.
|
recommended to be used. Git and Windows 11 SDK must be installed when building.
|
||||||
|
|
||||||
Make sure to pull submodules before building:
|
Make sure to pull submodules before building:
|
||||||
```sh
|
```sh
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<PropertyGroup Label="Configuration">
|
<PropertyGroup Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v142</PlatformToolset>
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
|
|
@ -6,15 +6,15 @@
|
||||||
#define STRINGIFY_HELPER(x) #x
|
#define STRINGIFY_HELPER(x) #x
|
||||||
#define STRINGIFY(x) STRINGIFY_HELPER(x)
|
#define STRINGIFY(x) STRINGIFY_HELPER(x)
|
||||||
|
|
||||||
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192930133
|
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 193030705
|
||||||
#pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER))
|
#pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER))
|
||||||
#error Please update your build environment to the latest Visual Studio 2019!
|
#error Please update your build environment to the latest Visual Studio 2022!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sdkddkver.h>
|
#include <sdkddkver.h>
|
||||||
#ifndef NTDDI_WIN10_VB
|
#ifndef NTDDI_WIN10_CO
|
||||||
#pragma message("Current WDK_NTDDI_VERSION: " STRINGIFY(WDK_NTDDI_VERSION))
|
#pragma message("Current WDK_NTDDI_VERSION: " STRINGIFY(WDK_NTDDI_VERSION))
|
||||||
#error Windows 10.0.19041 SDK or later is required
|
#error Windows 10.0.22000 SDK or later is required
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef STRINGIFY
|
#undef STRINGIFY
|
||||||
|
|
|
@ -11,8 +11,7 @@
|
||||||
<ExternalsDir>$(DolphinRootDir)Externals\</ExternalsDir>
|
<ExternalsDir>$(DolphinRootDir)Externals\</ExternalsDir>
|
||||||
<SourceDir>$(DolphinRootDir)Source\</SourceDir>
|
<SourceDir>$(DolphinRootDir)Source\</SourceDir>
|
||||||
<CoreDir>$(SourceDir)Core\</CoreDir>
|
<CoreDir>$(SourceDir)Core\</CoreDir>
|
||||||
<CScript Condition="'$(ProgramFiles(x86))' != ''">%windir%\System32\cscript</CScript>
|
<CScript>%windir%\System32\cscript</CScript>
|
||||||
<CScript Condition="'$(ProgramFiles(x86))' == ''">%windir%\Sysnative\cscript</CScript>
|
|
||||||
<VSPropsDir>$(SourceDir)VSProps\</VSPropsDir>
|
<VSPropsDir>$(SourceDir)VSProps\</VSPropsDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup Label="Configuration">
|
<PropertyGroup Label="Configuration">
|
||||||
<PlatformToolset>v142</PlatformToolset>
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||||
<!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc
|
<!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 16
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 16.0.29519.181
|
VisualStudioVersion = 17.0.31903.59
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dolphin", "Core\DolphinQt\DolphinQt.vcxproj", "{FA3FA62B-6F58-4B86-9453-4D149940A066}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dolphin", "Core\DolphinQt\DolphinQt.vcxproj", "{FA3FA62B-6F58-4B86-9453-4D149940A066}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|
Loading…
Reference in New Issue