BUG: Do not clean the .pdb file for a target just before it is linked! This finishes addressing bug#4341.
This commit is contained in:
parent
4d44392652
commit
ed7de15676
|
@ -293,7 +293,12 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
|
|||
cmLocalGenerator::START_OUTPUT,
|
||||
cmLocalGenerator::UNCHANGED));
|
||||
}
|
||||
exeCleanFiles.push_back(this->Convert(cleanFullPDBName.c_str(),
|
||||
|
||||
// List the PDB for cleaning only when the whole target is
|
||||
// cleaned. We do not want to delete the .pdb file just before
|
||||
// linking the target.
|
||||
this->CleanFiles.push_back
|
||||
(this->Convert(cleanFullPDBName.c_str(),
|
||||
cmLocalGenerator::START_OUTPUT,
|
||||
cmLocalGenerator::UNCHANGED));
|
||||
}
|
||||
|
|
|
@ -401,7 +401,11 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
|
|||
cmLocalGenerator::START_OUTPUT,
|
||||
cmLocalGenerator::UNCHANGED));
|
||||
}
|
||||
libCleanFiles.push_back
|
||||
|
||||
// List the PDB for cleaning only when the whole target is
|
||||
// cleaned. We do not want to delete the .pdb file just before
|
||||
// linking the target.
|
||||
this->CleanFiles.push_back
|
||||
(this->Convert(cleanFullPDBName.c_str(),
|
||||
cmLocalGenerator::START_OUTPUT,
|
||||
cmLocalGenerator::UNCHANGED));
|
||||
|
|
Loading…
Reference in New Issue