summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-04-28 18:48:34 (GMT)
committerBrad King <brad.king@kitware.com>2010-04-28 18:48:34 (GMT)
commit9e99ac58793d8e99df37bda06097c76a0649702e (patch)
tree1624b03a1b80ac60c0225ab4d3f4c025e62006bf /Source/cmLocalVisualStudio7Generator.cxx
parent46bc8fc739c3b5873fd5d585ddd614ca4a6c3cde (diff)
downloadCMake-9e99ac58793d8e99df37bda06097c76a0649702e.zip
CMake-9e99ac58793d8e99df37bda06097c76a0649702e.tar.gz
CMake-9e99ac58793d8e99df37bda06097c76a0649702e.tar.bz2
Fix .pdb name attribute in VS project files
The PDB file name for VCLinkerTool is specified by the xml attribute "ProgramDatabaseFile", not "ProgramDataBaseFile" (note the lower-case character 'b'). VS seems to cope with the incorrect capitalization but the combination of VS 7.1 and Incredibuild does not. See issue #10614.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 8249d9e..2d8197c 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -980,7 +980,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
temp = target.GetDirectory(configName);
temp += "/";
temp += targetNamePDB;
- fout << "\t\t\t\tProgramDataBaseFile=\"" <<
+ fout << "\t\t\t\tProgramDatabaseFile=\"" <<
this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"\n";
if(isDebug)
{
@@ -1055,7 +1055,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
fout << "\"\n";
std::string path = this->ConvertToXMLOutputPathSingle(
target.GetDirectory(configName).c_str());
- fout << "\t\t\t\tProgramDataBaseFile=\""
+ fout << "\t\t\t\tProgramDatabaseFile=\""
<< path << "/" << targetNamePDB
<< "\"\n";
if(isDebug)