Share 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

'Declaration
Public Enumeration WholeProgramOptimizationTypes
public enum WholeProgramOptimizationTypes
public enum class WholeProgramOptimizationTypes
type WholeProgramOptimizationTypes
public enum WholeProgramOptimizationTypes

Members

Member name Description
WholeProgramOptimizationLinkTimeCodeGen Use Link Time Code Generation
WholeProgramOptimizationNone No Whole Program Optimization
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