summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2011-02-01 18:12:58 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-02-01 18:16:40 (GMT)
commit6cf5772a934f8408dbf0615a0a981239f461a28f (patch)
treeae5d248fdfcbab9313fd33a89815db6ca54363a5 /Source/cmLocalVisualStudio7Generator.cxx
parentd503206fbea7aab6a4eaae08acf1ab53b0997df3 (diff)
downloadCMake-6cf5772a934f8408dbf0615a0a981239f461a28f.zip
CMake-6cf5772a934f8408dbf0615a0a981239f461a28f.tar.gz
CMake-6cf5772a934f8408dbf0615a0a981239f461a28f.tar.bz2
VS7/8/9: Map whole program optimization flags (#10263)
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index f65a134..4f0cbb9 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}