summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-22 14:47:59 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-22 14:47:59 (GMT)
commit457b95322d69b868735e2785176e660c1cebfeb9 (patch)
treebdebd71b2302452bbdd864306f5612444f45e7a0 /Source
parent4f96af44f6cf9cb2e49e10cfcff3651a9adeb37e (diff)
downloadCMake-457b95322d69b868735e2785176e660c1cebfeb9.zip
CMake-457b95322d69b868735e2785176e660c1cebfeb9.tar.gz
CMake-457b95322d69b868735e2785176e660c1cebfeb9.tar.bz2
Fix VS 10 flag table for precompiled headers
The VS 10 flag table generation script did not produce correct entries for precompiled header flags. Since precompiled header flag translation requires multiple entries cooperating in a certain order, it is not worth the time to make the generation script work automatically. This commit manually adds the proper entries. See issue #9753.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVS10CLFlagTable.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/cmVS10CLFlagTable.h b/Source/cmVS10CLFlagTable.h
index 10f2c9b..806a153 100644
--- a/Source/cmVS10CLFlagTable.h
+++ b/Source/cmVS10CLFlagTable.h
@@ -102,9 +102,11 @@ static cmVS7FlagTable cmVS10CLFlagTable[] =
"Fast", "Fast", 0},
{"PrecompiledHeader", "Yc",
- "Create", "Create", 0},
+ "Create", "Create",
+ cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
{"PrecompiledHeader", "Yu",
- "Use", "Use", 0},
+ "Use", "Use",
+ cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
{"PrecompiledHeader", "",
"Not Using Precompiled Headers", "NotUsing", 0},
@@ -238,7 +240,12 @@ static cmVS7FlagTable cmVS10CLFlagTable[] =
//String Properties
// Skip [TrackerLogDirectory] - no command line Switch.
- // Skip [PrecompiledHeaderFile] - no command line Switch.
+ {"PrecompiledHeaderFile", "Yc",
+ "Precompiled Header Name",
+ "", cmVS7FlagTable::UserValueRequired},
+ {"PrecompiledHeaderFile", "Yu",
+ "Precompiled Header Name",
+ "", cmVS7FlagTable::UserValueRequired},
{"PrecompiledHeaderOutputFile", "Fp",
"Precompiled Header Output File",
"", cmVS7FlagTable::UserValue},