diff options
author | Brad King <brad.king@kitware.com> | 2005-04-22 20:11:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-22 20:11:00 (GMT) |
commit | b1c528978705e7daab02660e19742bc4863fd8e9 (patch) | |
tree | 98a6bac0af6a3002c841cfda21f5337a76634a5f /Source/cmLocalUnixMakefileGenerator2.h | |
parent | 1b71f4477beeb41e3924993b5d4b78eadc092ec8 (diff) | |
download | CMake-b1c528978705e7daab02660e19742bc4863fd8e9.zip CMake-b1c528978705e7daab02660e19742bc4863fd8e9.tar.gz CMake-b1c528978705e7daab02660e19742bc4863fd8e9.tar.bz2 |
ENH: Created cmTarget::GetLibraryNames to replace cmLocalUnixMakefileGenerator2::GetLibraryNames. Added cmTarget::GetLibraryCleanNames to be used by cmLocalUnixMakefileGenerator2. Now when a library is linked both the shared and static versions are removed from the build tree. In this way we avoid having both kinds of libraries present when the user switches BUILD_SHARED_LIBS on/off. This prevents problems with turning off shared libraries and then expecting the linker to use the static libraries only to find it is using the out-of-date shared versions.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator2.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h index 8f77b5e..65f03b0 100644 --- a/Source/cmLocalUnixMakefileGenerator2.h +++ b/Source/cmLocalUnixMakefileGenerator2.h @@ -221,9 +221,6 @@ protected: //========================================================================== bool SamePath(const char* path1, const char* path2); - void GetLibraryNames(const cmTarget& t, - std::string& name, std::string& soName, - std::string& realName, std::string& baseName); std::string ConvertToMakeTarget(const char* tgt); std::string& CreateSafeUniqueObjectFileName(const char* sin); std::string CreateMakeVariable(const char* sin, const char* s2in); |