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

add a way to specify separate output dirs for dlls and libs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P2: Important
    • 1.3.0
    • 0.1
    • Platforms: Windows
    • None
    • Windows 7 x86, Qt 4.8.1, MSVC2010

    Description

      When compiling dynamic library (.dll), it would be nice to have a way to set another path for the import library (.lib).

      Currently they are the same (for msvc toolchain);
      i've hacked it in than manner:

      Artifact {
                  fileTags: ["dynamiclibrary"]
                  fileName: product.destinationDirectory + "/" + product.module.dynamicLibraryPrefix + product.targetName + product.module.dynamicLibrarySuffix
              }
      
              Artifact {
                  fileTags: ["dynamiclibrary_import"]
                  fileName: product.module.dynamicLibraryImportPath + "/" + product.module.dynamicLibraryPrefix + product.targetName + product.module.dynamicLibraryImportSuffix
              }
      

      but i don't want to hack default toolchains rapidly in release (and nobody want).

      p.s. what about idea of extending basic tools? if i'm "inheriting" windows-msvc.qbs, i've no way to modify its rules, right?

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              mapron Smirnov Vladimir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes