From 6cf5772a934f8408dbf0615a0a981239f461a28f Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Tue, 1 Feb 2011 13:12:58 -0500 Subject: [PATCH] VS7/8/9: Map whole program optimization flags (#10263) --- Source/cmLocalVisualStudio7Generator.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index f65a134e3..4f0cbb963 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -456,6 +456,10 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] = "Turn off Run time type information for c++", "FALSE", 0}, {"SmallerTypeCheck", "RTCc", "smaller type check", "TRUE", 0}, {"SuppressStartupBanner", "nologo", "SuppressStartupBanner", "TRUE", 0}, + {"WholeProgramOptimization", "GL", + "Enables whole program optimization", "TRUE", 0}, + {"WholeProgramOptimization", "GL-", + "Disables whole program optimization", "FALSE", 0}, {"WarnAsError", "WX", "Treat warnings as errors", "TRUE", 0}, {"BrowseInformation", "FR", "Generate browse information", "1", 0}, {0,0,0,0,0}