Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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)

public enum WholeProgramOptimizationTypes

Member nameDescription
WholeProgramOptimizationNoneNo Whole Program Optimization
WholeProgramOptimizationLinkTimeCodeGenUse Link Time Code Generation
WholeProgramOptimizationPGOInstrumentProfile Guided Optimization - Instrument
WholeProgramOptimizationPGOOptimizeProfile Guided Optimization - Optimize
WholeProgramOptimizationPGOUpdateProfile Guided Optimization - Update

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

Community Additions

© 2015 Microsoft