summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-18 16:37:49 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-18 16:48:38 (GMT)
commitbf1db4963fe9b71a2a4bd7232604ccea730ef4d2 (patch)
tree157a1b1afd6470c2b177758809512c48513efd19 /Source
parentc515dc574879448d66e2c5a27b9807d95a27fefd (diff)
downloadCMake-bf1db4963fe9b71a2a4bd7232604ccea730ef4d2.zip
CMake-bf1db4963fe9b71a2a4bd7232604ccea730ef4d2.tar.gz
CMake-bf1db4963fe9b71a2a4bd7232604ccea730ef4d2.tar.bz2
VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9 (#14577)
Since commit 42ba1b08 (VS: Separate compiler and linker PDB files, 2013-04-05) the VS generators no longer add ProgramDataBaseFileName. Therefore we should allow projects to do so by mapping the /Fd option. For VS >= 10 our flag tables map /Fd to ProgramDataBaseFileName already. Add the mapping for VS 7, 8, and 9.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index bd6c860..8ffd96e 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -477,6 +477,8 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] =
{"AssemblerListingLocation", "Fa", "ASM List Location", "",
cmVS7FlagTable::UserValue},
+ {"ProgramDataBaseFileName", "Fd", "Program Database File Name", "",
+ cmVS7FlagTable::UserValue},
// boolean flags
{"BufferSecurityCheck", "GS", "Buffer security check", "TRUE", 0},