Compartir a través de


VCLinkerTool.LinkTimeCodeGeneration Property

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

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

Property LinkTimeCodeGeneration As LinkTimeCodeGenerationOption

Dim instance As VCLinkerTool
Dim value As LinkTimeCodeGenerationOption

value = instance.LinkTimeCodeGeneration

instance.LinkTimeCodeGeneration = value
LinkTimeCodeGenerationOption LinkTimeCodeGeneration { get; set; }
property LinkTimeCodeGenerationOption LinkTimeCodeGeneration {
    LinkTimeCodeGenerationOption get ();
    void set (LinkTimeCodeGenerationOption value);
}
function get LinkTimeCodeGeneration () : LinkTimeCodeGenerationOption
function set LinkTimeCodeGeneration (value : LinkTimeCodeGenerationOption)

Property Value

Type: Microsoft.VisualStudio.VCProjectEngine.LinkTimeCodeGenerationOption

A LinkTimeCodeGenerationOption enumeration.

Remarks

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

Permissions

See Also

Concepts

/LTCG (Link-time Code Generation)

Reference

VCLinkerTool Interface

VCLinkerTool Members

Microsoft.VisualStudio.VCProjectEngine Namespace