Compartilhar via


VCLibrarianTool.LinkTimeCodeGeneration Property

Definition

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

public:
 property bool LinkTimeCodeGeneration { bool get(); void set(bool value); };
public:
 property bool LinkTimeCodeGeneration { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(14)]
public bool LinkTimeCodeGeneration { [System.Runtime.InteropServices.DispId(14)] get; [System.Runtime.InteropServices.DispId(14)] set; }
[<System.Runtime.InteropServices.DispId(14)>]
[<get: System.Runtime.InteropServices.DispId(14)>]
[<set: System.Runtime.InteropServices.DispId(14)>]
member this.LinkTimeCodeGeneration : bool with get, set
Public Property LinkTimeCodeGeneration As Boolean

Property Value

true if link time code generation of objects compiled with /GL (Whole Program Optimization); otherwise, false.

Attributes

Remarks

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

Applies to