This documentation is archived and is not being maintained.

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)

'Declaration
Property LinkTimeCodeGeneration As LinkTimeCodeGenerationOption
'Usage
Dim instance As VCLinkerTool 
Dim value As LinkTimeCodeGenerationOption 

value = instance.LinkTimeCodeGeneration

instance.LinkTimeCodeGeneration = value

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

Show: