diff options
author | Brad King <brad.king@kitware.com> | 2021-09-23 14:32:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-23 14:33:19 (GMT) |
commit | e83a5f9cac21bac84e4d44b7a12dc7d11dbda9a4 (patch) | |
tree | 75b5b3f87d3eb7490f39c421d235d3e6de1d3418 /Source | |
parent | 272d23579fc852aa1df9897c51ea632512c3f066 (diff) | |
parent | a2b782bbc113eab4c2d64d7f40fa6e829f6937b2 (diff) | |
download | CMake-e83a5f9cac21bac84e4d44b7a12dc7d11dbda9a4.zip CMake-e83a5f9cac21bac84e4d44b7a12dc7d11dbda9a4.tar.gz CMake-e83a5f9cac21bac84e4d44b7a12dc7d11dbda9a4.tar.bz2 |
Merge topic 'vs2008-no-pch-flag'
a2b782bbc1 VS: Map /Y- flag to not use precompiled headers with VS 2008
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6548
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 1 | ||||
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 1 | ||||
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 9db654f..6876e61 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 }, diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 34bdc1c..092e5b9 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -370,6 +370,7 @@ static cmVS7FlagTable cmVS8ExtraFlagTable[] = { cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue }, { "PrecompiledHeaderThrough", "Yu", "Precompiled Header Name", "", cmVS7FlagTable::UserValueRequired }, + { "UsePrecompiledHeader", "Y-", "Don't use precompiled header", "0", 0 }, // There is no YX option in the VS8 IDE. // Exception handling mode. If no entries match, it will be FALSE. diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 9ad5f56..5d3e11a 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -402,6 +402,7 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] = { cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue }, { "PrecompiledHeaderThrough", "Yc", "Precompiled Header Name", "", cmVS7FlagTable::UserValueRequired }, + { "UsePrecompiledHeader", "Y-", "Don't use precompiled header", "0", 0 }, { "PrecompiledHeaderFile", "Fp", "Generated Precompiled Header", "", cmVS7FlagTable::UserValue }, // The YX and Yu options are in a per-global-generator table because |