Deprecate UseFastPDBLinking
This is no longer supported in VS2026
This commit is contained in:
@@ -59,6 +59,7 @@ namespace Flax.Build.NativeCpp
|
||||
/// <summary>
|
||||
/// Hints to use fast PDB linking.
|
||||
/// </summary>
|
||||
[Obsolete("Not supported in Visual Studio 2026 or later toolchain")]
|
||||
public bool UseFastPDBLinking = false;
|
||||
|
||||
/// <summary>
|
||||
@@ -114,6 +115,7 @@ namespace Flax.Build.NativeCpp
|
||||
/// <inheritdoc />
|
||||
public object Clone()
|
||||
{
|
||||
#pragma warning disable CS0618 // X is obsolete
|
||||
var clone = new LinkEnvironment
|
||||
{
|
||||
Output = Output,
|
||||
@@ -127,6 +129,7 @@ namespace Flax.Build.NativeCpp
|
||||
LinkAsConsoleProgram = LinkAsConsoleProgram,
|
||||
GenerateDocumentation = GenerateDocumentation
|
||||
};
|
||||
#pragma warning restore CS0618 // X is obsolete
|
||||
clone.InputFiles.AddRange(InputFiles);
|
||||
clone.DocumentationFiles.AddRange(DocumentationFiles);
|
||||
clone.InputLibraries.AddRange(InputLibraries);
|
||||
|
||||
@@ -950,10 +950,12 @@ namespace Flax.Build.Platforms
|
||||
if (linkEnvironment.DebugInformation)
|
||||
{
|
||||
// Generate debug information
|
||||
if (Toolset != WindowsPlatformToolset.v140 && linkEnvironment.UseFastPDBLinking)
|
||||
#pragma warning disable CS0618 // X is obsolete
|
||||
if (Toolset >= WindowsPlatformToolset.v141 && Toolset <= WindowsPlatformToolset.v144 && linkEnvironment.UseFastPDBLinking)
|
||||
{
|
||||
args.Add("/DEBUG:FASTLINK");
|
||||
}
|
||||
#pragma warning restore CS0618 // X is obsolete
|
||||
else if (linkEnvironment.UseFullDebugInformation)
|
||||
{
|
||||
args.Add("/DEBUG:FULL");
|
||||
|
||||
Reference in New Issue
Block a user