Commit Graph

33 Commits

Author SHA1 Message Date
Brad King bdf8e186e5 BUG: Need to match shared library names before static because some platforms have static name patterns that match their shared patterns but not vice versa. This is needed for implementing bug#1644 on cygwin. 2006-10-05 16:59:46 -04:00
Brad King 7ad07e0811 BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex. 2006-10-05 15:08:20 -04:00
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 79da27222a COMP: Moved var decl out of _WIN32 block. 2006-04-05 11:07:54 -04:00
Brad King 8e39418f6c BUG: Fixed cmOrderLinkDirectories to deal with raw link items that do not yet exist and correct drive letter case to avoid duplicate paths on windows. Fixed cmLocalGenerator to pass CMake targets as full paths to cmOrderLinkDirectories to make sure the ordering will pick up the proper target libraries. 2006-04-05 11:05:06 -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
Bill Hoffman 5ebe1f573f ENH: fix for bug 3067 the first framework ate the rest of the libraries 2006-03-31 17:59:28 -05:00
Bill Hoffman a1f22bde81 ENH: don't put the default framework path in a -F option 2006-03-16 11:27:56 -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
Brad King 130d469dd4 BUG: Do not accept a directory name as a library. 2005-11-22 16:59:31 -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 cae9971f6a BUG: fix spelling error 2005-09-08 15:25:55 -04:00
Ken Martin b72d77d929 BUG: bug num 1994 library linking when a config is not specified but debug and opt libs are 2005-09-08 14:22:58 -04: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
Ken Martin 84dce824e5 ENH: make more specific in reject self linking 2005-06-16 10:22:43 -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
Andy Cedilnik 1b68c76b19 BUG: Attempt to fix sorting stability using more deterministic compare function 2005-03-02 11:48:58 -05:00
Bill Hoffman 87e6c54e26 FIX: switch to stable_sort to avoid crash 2005-03-01 17:32:25 -05:00
Bill Hoffman c4ca049e3f ENH: clean up and use order link directories 2005-02-25 17:45:12 -05:00
Andy Cedilnik 9bf0811e34 COMP: remove compiler warning 2005-02-24 15:36:56 -05:00
Bill Hoffman a51f7b4f9a ENH: clean up and remove some debug code 2005-02-24 13:26:39 -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