diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-08-19 19:07:47 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-08-19 19:07:47 (GMT) |
commit | d2e2ab72bfb2e21d189e0623880b2e376024a4bd (patch) | |
tree | 0ac87de7f1d4a2f55d7977284626d42bfb81221f /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 77def5ed145833f426a65fabd5bd80e3c5c5cda5 (diff) | |
download | CMake-d2e2ab72bfb2e21d189e0623880b2e376024a4bd.zip CMake-d2e2ab72bfb2e21d189e0623880b2e376024a4bd.tar.gz CMake-d2e2ab72bfb2e21d189e0623880b2e376024a4bd.tar.bz2 |
BUG: fix for 6794 support for LTCG WholeProgramOptimization, which is not available in VS 8 and newer.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index fa88339..918f6ad 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -743,6 +743,7 @@ static cmVS7FlagTable cmVS7ExtraFlagTable[] = cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue}, {"PrecompiledHeaderThrough", "Yu", "Precompiled Header Name", "", cmVS7FlagTable::UserValueRequired}, + {"WholeProgramOptimization", "LTCG", "WholeProgramOptimization", "TRUE", 0}, // Exception handling mode. If no entries match, it will be FALSE. {"ExceptionHandling", "GX", "enable c++ exceptions", "TRUE", 0}, |