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
- 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.
See Also
Concepts
/LTCG (Link-time Code Generation)