Add support for Windows SDK build 26100 (24H2)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user