Partager via


WholeProgramOptimizationTypes Enumeration

Specifies that the program will be optimized across object boundaries.

Namespace:  Microsoft.VisualStudio.VCProject
Assembly:  Microsoft.VisualStudio.VCProject (in Microsoft.VisualStudio.VCProject.dll)

Syntax

'Déclaration
Public Enumeration WholeProgramOptimizationTypes
public enum WholeProgramOptimizationTypes
public enum class WholeProgramOptimizationTypes
type WholeProgramOptimizationTypes
public enum WholeProgramOptimizationTypes

Members

Member name Description
WholeProgramOptimizationNone No Whole Program Optimization
WholeProgramOptimizationLinkTimeCodeGen Use Link Time Code Generation
WholeProgramOptimizationPGOInstrument Profile Guided Optimization - Instrument
WholeProgramOptimizationPGOOptimize Profile Guided Optimization - Optimize
WholeProgramOptimizationPGOUpdate Profile Guided Optimization - Update

Remarks

Works best if C/C++ optimizations are turned on.

See Also

Reference

Microsoft.VisualStudio.VCProject Namespace