From d2e2ab72bfb2e21d189e0623880b2e376024a4bd Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 19 Aug 2008 15:07:47 -0400 Subject: [PATCH] BUG: fix for 6794 support for LTCG WholeProgramOptimization, which is not available in VS 8 and newer. --- Source/cmGlobalVisualStudio7Generator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index fa883392d..918f6ad34 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},