Commit Graph

19 Commits

Author SHA1 Message Date
Brad King 1d0502927c ENH: Adding support to link specifically to an archive or a shared library based on the file name specified. This fixes the problem of having -lfoo linking to libfoo.so even when it came from libfoo.a being specified. 2006-09-15 14:09:10 -04:00
Ken Martin 3c4bfa1003 STYLE: fix line length 2006-05-12 13:39:34 -04:00
Brad King 57a9e26c15 BUG: Fixed cmOrderLinkDirectories to make sure cmake-built libraries are found properly. Also taking libraries that will be built but may not yet exist into account. The per-configuration subdirectories that are included by generators in the link path are checked for conflicting libraries also. Potentially conflicting libraries that are actually symlinks back to the desired library are no longer considered conflicting, which avoids bogus impossible ordering warnings. 2006-04-04 14:25:17 -04:00
Bill Hoffman b45f4a5d45 ENH: change library order to use a vector 2006-04-04 11:52:00 -04:00
Bill Hoffman beea6234a3 ENH: fix spelling 2006-03-31 21:43:11 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Brad King e31f93ea3f BUG: Deal with case insensitivity on windows linker paths. Also fixed spelling typo. 2006-02-09 17:29:58 -05:00
Brad King 22c62c9e65 BUG: Sweeping changes to cleanup computation of target names. This should
fix many bugs related to target names being computed inconsistently.

- Centralized computation of a target's file name to a method in
  cmTarget.  Now that global knowledge is always available the
  *_CMAKE_PATH cache variables are no longer needed.

- Centralized computation of link library command lines and link
  directory search order.

- Moved computation of link directories needed to link CMake targets
  to be after evaluation of linking dependencies.

This also removed alot of duplicate code in which each version had its
own bugs.

This commit is surrounded by the tags

  CMake-TargetNameCentralization1-pre

and

  CMake-TargetNameCentralization1-post

so make the large set of changes easy to identify.
2006-01-13 18:18:32 -05:00
Bill Hoffman 452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -05:00
Bill Hoffman 76724c23bf BUG: fix for bug 2357, do not allow targets to link to directories 2005-11-22 16:08:16 -05:00
Bill Hoffman e59e9d0e59 ENH: fix bug 2087 lib prefix stripped off on windows 2005-08-10 12:55:41 -04:00
Ken Martin 369308ca76 ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 09:06:46 -04:00
Bill Hoffman ba58264abe BUG: handle case insensitive library extensions on windows 2005-04-08 12:46:56 -04:00
Bill Hoffman 16b65d86c9 ENH: try and debug the failed test on the continuous 2005-03-03 18:46:52 -05:00
Bill Hoffman ded7d15144 ENH: try number two with topological sort 2005-03-03 18:16:00 -05:00
Bill Hoffman 17f474b0d4 ENH: reverse last changes to avoid dashboard failures 2005-03-02 18:56:46 -05:00
Bill Hoffman 7007b41dcb ENH: fix library ordering stuff to use a topological sort 2005-03-02 17:49:11 -05:00
Bill Hoffman c4ca049e3f ENH: clean up and use order link directories 2005-02-25 17:45:12 -05:00
Bill Hoffman ff812580eb ENH: add a new library path ordering algorithm to make sure -L paths will pick the correct libraries if possible 2005-02-24 13:16:41 -05:00