We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.
VCLinkerTool.LinkTimeCodeGeneration Property
Visual Studio 2010
Gets or sets a value enabling link time code generation of objects compiled with /GL (Whole Program Optimization).
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Property Value
Type: Microsoft.VisualStudio.VCProjectEngine.LinkTimeCodeGenerationOptionA LinkTimeCodeGenerationOption enumeration.
LinkTimeCodeGeneration exposes the functionality of the /LTCG (Link-time Code Generation) linker option.
- 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.
Show: