Browse Source

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.
Brad King 12 years ago
parent
commit
bf1db4963f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmLocalVisualStudio7Generator.cxx

+ 2 - 0
Source/cmLocalVisualStudio7Generator.cxx

@@ -477,6 +477,8 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] =
 
 
   {"AssemblerListingLocation", "Fa", "ASM List Location", "",
   {"AssemblerListingLocation", "Fa", "ASM List Location", "",
    cmVS7FlagTable::UserValue},
    cmVS7FlagTable::UserValue},
+  {"ProgramDataBaseFileName", "Fd", "Program Database File Name", "",
+   cmVS7FlagTable::UserValue},
 
 
   // boolean flags
   // boolean flags
   {"BufferSecurityCheck", "GS", "Buffer security check", "TRUE", 0},
   {"BufferSecurityCheck", "GS", "Buffer security check", "TRUE", 0},