Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

VCLinkerTool.LinkTimeCodeGeneration Property

Definition

Namespace:
Microsoft.VisualStudio.VCProjectEngine
Assembly:
Microsoft.VisualStudio.VCProjectEngine.dll
Package:
Microsoft.VisualStudio.VCProjectEngine v17.14.40264

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value enabling link time code generation of objects compiled with /GL (Whole Program Optimization).

public:
 property Microsoft::VisualStudio::VCProjectEngine::LinkTimeCodeGenerationOption LinkTimeCodeGeneration { Microsoft::VisualStudio::VCProjectEngine::LinkTimeCodeGenerationOption get(); void set(Microsoft::VisualStudio::VCProjectEngine::LinkTimeCodeGenerationOption value); };
public:
 property Microsoft::VisualStudio::VCProjectEngine::LinkTimeCodeGenerationOption LinkTimeCodeGeneration { Microsoft::VisualStudio::VCProjectEngine::LinkTimeCodeGenerationOption get(); void set(Microsoft::VisualStudio::VCProjectEngine::LinkTimeCodeGenerationOption value); };
[System.Runtime.InteropServices.DispId(84)]
public Microsoft.VisualStudio.VCProjectEngine.LinkTimeCodeGenerationOption LinkTimeCodeGeneration { [System.Runtime.InteropServices.DispId(84)] get; [System.Runtime.InteropServices.DispId(84)] set; }
[<System.Runtime.InteropServices.DispId(84)>]
[<get: System.Runtime.InteropServices.DispId(84)>]
[<set: System.Runtime.InteropServices.DispId(84)>]
member this.LinkTimeCodeGeneration : Microsoft.VisualStudio.VCProjectEngine.LinkTimeCodeGenerationOption with get, set
Public Property LinkTimeCodeGeneration As LinkTimeCodeGenerationOption

Property Value

A LinkTimeCodeGenerationOption enumeration.

Attributes

Remarks

LinkTimeCodeGeneration exposes the functionality of the /LTCG (Link-time Code Generation) linker option.

Applies to