diff options
author | Brad King <brad.king@kitware.com> | 2008-02-21 16:41:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-21 16:41:11 (GMT) |
commit | fd37a6ec3d31e65eed2dfa88246e86b8d0ab66ab (patch) | |
tree | e40d02f354785ea8c43e90f266cded73bba5f340 /Source/cmTarget.h | |
parent | 9f2f456e7db1f84cc6d10a64a8e515ad69afbe65 (diff) | |
download | CMake-fd37a6ec3d31e65eed2dfa88246e86b8d0ab66ab.zip CMake-fd37a6ec3d31e65eed2dfa88246e86b8d0ab66ab.tar.gz CMake-fd37a6ec3d31e65eed2dfa88246e86b8d0ab66ab.tar.bz2 |
ENH: Better linker search path computation.
- Use linker search path -L.. -lfoo for lib w/out soname
when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
- Rename cmOrderRuntimeDirectories to cmOrderDirectories
and generalize it for both soname constraints and link
library constraints
- Use cmOrderDirectories to order -L directories based
on all needed constraints
- Avoid processing implicit link directories
- For CMAKE_OLD_LINK_PATHS add constraints from libs
producing them to produce old ordering
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index ad5a815..95c49da 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -281,6 +281,10 @@ public: /** Get the soname of the target. Allowed only for a shared library. */ std::string GetSOName(const char* config); + /** Test for special case of a third-party shared library that has + no soname at all. */ + bool IsImportedSharedLibWithoutSOName(const char* config); + /** Get the full path to the target according to the settings in its makefile and the configuration type. */ std::string GetFullPath(const char* config=0, bool implib = false, @@ -501,6 +505,7 @@ private: // Cache import information from properties for each configuration. struct ImportInfo { + bool NoSOName; std::string Location; std::string SOName; std::string ImportLibrary; |