diff options
author | Brad King <brad.king@kitware.com> | 2007-02-01 14:57:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-02-01 14:57:24 (GMT) |
commit | 712345ffc4614467671fd5948fb80d711ae28994 (patch) | |
tree | e76883b82f308ef9acd1eb8e1d36e9fca9514d11 /Source/cmTarget.h | |
parent | 9d217a94e5745b3c620b94b8d9a4abb1100c514b (diff) | |
download | CMake-712345ffc4614467671fd5948fb80d711ae28994.zip CMake-712345ffc4614467671fd5948fb80d711ae28994.tar.gz CMake-712345ffc4614467671fd5948fb80d711ae28994.tar.bz2 |
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/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index de70c49..afe2862 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -215,7 +215,7 @@ public: should be called only on a library target. */ void GetLibraryNames(std::string& name, std::string& soName, std::string& realName, std::string& impName, - const char* config); + std::string& pdbName, const char* config); /** Get the names of the library used to remove existing copies of the library from the build tree either before linking or during @@ -226,20 +226,21 @@ public: std::string& sharedSOName, std::string& sharedRealName, std::string& importName, + std::string& pdbName, const char* config); /** Get the names of the executable needed to generate a build rule that takes into account executable version numbers. This should be called only on an executable target. */ void GetExecutableNames(std::string& name, std::string& realName, - const char* config); + std::string& pdbName, const char* config); /** Get the names of the executable used to remove existing copies of the executable from the build tree either before linking or during a clean step. This should be called only on an executable target. */ void GetExecutableCleanNames(std::string& name, std::string& realName, - const char* config); + std::string& pdbName, const char* config); /** * Compute whether this target must be relinked before installing. @@ -319,10 +320,12 @@ private: std::string& soName, std::string& realName, std::string& impName, + std::string& pdbName, TargetType type, const char* config); void GetExecutableNamesInternal(std::string& name, std::string& realName, + std::string& pdbName, TargetType type, const char* config); |