• Brad King's avatar
    ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832 · 96fd5909
    Brad King authored
      - This is purely an implementation improvement.  No interface has changed.
      - Create cmComputeLinkInformation class
      - Move and re-implement logic from:
          cmLocalGenerator::ComputeLinkInformation
          cmOrderLinkDirectories
      - Link libraries to targets with their full path (if it is known)
      - Dirs specified with link_directories command still added with -L
      - Make link type specific to library names without paths
        (name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
      - Make directory ordering specific to a runtime path computation feature
        (look for conflicting SONAMEs instead of library names)
      - Implement proper rpath support on HP-UX and AIX.
    96fd5909
CMakeCXXInformation.cmake 8.91 KB