Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-108

Add support for lib-lib linking in msvc-cpp.

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 0.1
    • Fix Version/s: some future version
    • Component/s: Toolchains: Visual C++
    • Labels:
      None
    • Environment:

      Windows 7 x86, Qt 4.8.1

      Description

      libtool in msvc toolchain can link one static library into another.
      So we can pass "staticLibraries" property to "libtool". But we have caveat:
      When we compile lib with qt (e.g.), it may shouldn't link its libs. So i suggest create additional option (it shouldn't be so automatic):

      property var staticLibrariesLibtool // in windows-msvc.qbs

      and then add handling code in "prepare" section.
      I've done this , but don't want to attach a patch cause thing it's dirty hack.
      Maybe you create some better.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mapron Smirnov Vladimir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes