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.
This commit is contained in:
parent
46bc8fc739
commit
9e99ac5879
@ -980,7 +980,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
|||||||
temp = target.GetDirectory(configName);
|
temp = target.GetDirectory(configName);
|
||||||
temp += "/";
|
temp += "/";
|
||||||
temp += targetNamePDB;
|
temp += targetNamePDB;
|
||||||
fout << "\t\t\t\tProgramDataBaseFile=\"" <<
|
fout << "\t\t\t\tProgramDatabaseFile=\"" <<
|
||||||
this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"\n";
|
this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"\n";
|
||||||
if(isDebug)
|
if(isDebug)
|
||||||
{
|
{
|
||||||
@ -1055,7 +1055,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
|||||||
fout << "\"\n";
|
fout << "\"\n";
|
||||||
std::string path = this->ConvertToXMLOutputPathSingle(
|
std::string path = this->ConvertToXMLOutputPathSingle(
|
||||||
target.GetDirectory(configName).c_str());
|
target.GetDirectory(configName).c_str());
|
||||||
fout << "\t\t\t\tProgramDataBaseFile=\""
|
fout << "\t\t\t\tProgramDatabaseFile=\""
|
||||||
<< path << "/" << targetNamePDB
|
<< path << "/" << targetNamePDB
|
||||||
<< "\"\n";
|
<< "\"\n";
|
||||||
if(isDebug)
|
if(isDebug)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user