View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001101CMakeCMakepublic2004-08-19 08:202009-06-04 16:59
ReporterKris Dekeyser 
Assigned ToBrad King 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001101: automatic link directory propagation
DescriptionTARGET_LINK_LIBRARIES(<A> ) automatically adds all the libraries that B was linked to to the link list of A. That's nice. It would be nice, however if the library search path that was added for B could also be added to A.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0016640)
Brad King (manager)
2009-06-04 16:59

CMake 2.6 encourages linking everything by full path. It's done automatically for built-in targets, and IMPORTED targets allow it to be done for outside libraries. Link directories are not very important anymore.

This feature is a special-case of "usage requirements", a more general feature that allows defining what include directories, preprocessor definitions, libraries, etc. are needed to use a package. Currently the LINK_INTERFACE_LIBRARIES target property provides this for required libraries. If we generalize the feature to full usage requirement support, link directories will be included, but otherwise we do not plan special support for link directory propagation. Therefore this feature request need not remain open.

 Issue History
Date Modified Username Field Change
2007-08-28 14:26 Zack Galbreath Project NSF_HE => CMake
2007-08-28 14:27 Zack Galbreath Assigned To David Thompson => Brad King
2007-08-28 14:27 Zack Galbreath Status new => assigned
2007-08-28 14:27 Zack Galbreath Resolution fixed => open
2007-08-28 14:27 Zack Galbreath Category CPack => CMake
2007-08-28 14:27 Zack Galbreath Summary Goodsite => automatic link directory propagation
2007-08-28 14:27 Zack Galbreath Note Deleted: 0008253
2009-06-04 16:59 Brad King Note Added: 0016640
2009-06-04 16:59 Brad King Status assigned => closed
2009-06-04 16:59 Brad King Resolution open => suspended


Copyright © 2000 - 2018 MantisBT Team