summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 19:30:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-22 19:30:39 (GMT)
commitf866b208800c398e7bdf50c2d1a05b2b2f462c2d (patch)
tree0d969e6254df64cb6972324b58d93f065646c93a /Source
parentfe07b5eae6e1216d576044b47802db084a4a6f7a (diff)
parent6cf5772a934f8408dbf0615a0a981239f461a28f (diff)
downloadCMake-f866b208800c398e7bdf50c2d1a05b2b2f462c2d.zip
CMake-f866b208800c398e7bdf50c2d1a05b2b2f462c2d.tar.gz
CMake-f866b208800c398e7bdf50c2d1a05b2b2f462c2d.tar.bz2
Merge topic 'fix-10263-add-whole-program-opt-flags'
6cf5772 VS7/8/9: Map whole program optimization flags (#10263)
Diffstat (limited to 'Source')
-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}