Add support for Windows SDK build 26100 (24H2)

This commit is contained in:
2024-06-28 23:02:05 +03:00
parent 0d8691045b
commit 16b0228394
2 changed files with 8 additions and 0 deletions

View File

@@ -130,6 +130,11 @@ namespace Flax.Build.Platforms
/// Windows 11 SDK (10.0.22621.0) 22H2
/// </summary>
v10_0_22621_0,
/// <summary>
/// Windows 11 SDK (10.0.26100.0) 24H2
/// </summary>
v10_0_26100_0,
}
/// <summary>
@@ -319,6 +324,7 @@ namespace Flax.Build.Platforms
case WindowsPlatformSDK.v10_0_20348_0: return new Version(10, 0, 20348, 0);
case WindowsPlatformSDK.v10_0_22000_0: return new Version(10, 0, 22000, 0);
case WindowsPlatformSDK.v10_0_22621_0: return new Version(10, 0, 22621, 0);
case WindowsPlatformSDK.v10_0_26100_0: return new Version(10, 0, 26100, 0);
default: throw new ArgumentOutOfRangeException(nameof(sdk), sdk, null);
}
}
@@ -373,6 +379,7 @@ namespace Flax.Build.Platforms
WindowsPlatformSDK.v10_0_20348_0,
WindowsPlatformSDK.v10_0_22000_0,
WindowsPlatformSDK.v10_0_22621_0,
WindowsPlatformSDK.v10_0_26100_0,
};
foreach (var sdk10 in sdk10Roots)
{

View File

@@ -290,6 +290,7 @@ namespace Flax.Build.Platforms
case WindowsPlatformSDK.v10_0_20348_0:
case WindowsPlatformSDK.v10_0_22000_0:
case WindowsPlatformSDK.v10_0_22621_0:
case WindowsPlatformSDK.v10_0_26100_0:
{
var sdkVersionName = WindowsPlatformBase.GetSDKVersion(SDK).ToString();
string includeRootDir = Path.Combine(windowsSdkDir, "include", sdkVersionName);