VCLibrarianTool.LinkTimeCodeGeneration Property

Gets or sets a value indicating whether 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

'Declaration
Property LinkTimeCodeGeneration As Boolean
'Usage
Dim instance As VCLibrarianTool 
Dim value As Boolean 

value = instance.LinkTimeCodeGeneration

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

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

VCLibrarianTool Interface

VCLibrarianTool Members

Microsoft.VisualStudio.VCProjectEngine Namespace