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
Get
Set
bool LinkTimeCodeGeneration { get; set; }
property bool LinkTimeCodeGeneration {
bool get ();
void set (bool value);
}
abstract LinkTimeCodeGeneration : bool with get, set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.