diff options
author | Brad King <brad.king@kitware.com> | 2007-02-01 09:57:24 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-02-01 09:57:24 -0500 |
commit | 712345ffc4614467671fd5948fb80d711ae28994 (patch) | |
tree | e76883b82f308ef9acd1eb8e1d36e9fca9514d11 /Source/cmInstallTargetGenerator.cxx | |
parent | 9d217a94e5745b3c620b94b8d9a4abb1100c514b (diff) | |
download | cmake-712345ffc4614467671fd5948fb80d711ae28994.tar.gz |
BUG: The .pdb file generated for a library or executable should match the real file name used for the target. This addresses bug#3277.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index 61536c8b61..916d99025a 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -208,8 +208,9 @@ cmInstallTargetGenerator std::string targetNameSO; std::string targetNameReal; std::string targetNameImport; + std::string targetNamePDB; target->GetLibraryNames(targetName, targetNameSO, targetNameReal, - targetNameImport, i->c_str()); + targetNameImport, targetNamePDB, i->c_str()); if(this->ImportLibrary) { // Use the import library name. @@ -245,8 +246,10 @@ std::string cmInstallTargetGenerator::GetScriptReference(cmTarget* target, std::string targetNameSO; std::string targetNameReal; std::string targetNameImport; + std::string targetNamePDB; target->GetLibraryNames(targetName, targetNameSO, targetNameReal, - targetNameImport, this->ConfigurationName); + targetNameImport, targetNamePDB, + this->ConfigurationName); if(this->ImportLibrary) { // Use the import library name. |