Compartilhar via


VCLinkerTool.LinkTimeCodeGeneration Property

Definition

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