summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorLuigi Fiorentini <lfiorentini@topcon.com>2021-09-14 20:44:44 +0200
committerBrad King <brad.king@kitware.com>2021-09-22 09:19:47 -0400
commita2b782bbc113eab4c2d64d7f40fa6e829f6937b2 (patch)
tree0472e28e747258206c7d88a3d546c4eaf2795ea0 /Source/cmGlobalVisualStudio7Generator.cxx
parent286bdad53108c0cdd80a27d62c421e65bd4e8e26 (diff)
downloadcmake-a2b782bbc113eab4c2d64d7f40fa6e829f6937b2.tar.gz
VS: Map /Y- flag to not use precompiled headers with VS 2008
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 9db654f7b1..6876e6179a 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -37,6 +37,7 @@ static cmVS7FlagTable cmVS7ExtraFlagTable[] = {
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
{ "PrecompiledHeaderThrough", "Yu", "Precompiled Header Name", "",
cmVS7FlagTable::UserValueRequired },
+ { "UsePrecompiledHeader", "Y-", "Don't use precompiled header", "0", 0 },
{ "WholeProgramOptimization", "LTCG", "WholeProgramOptimization", "true",
0 },