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

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 0.1
    • Fix Version/s: 1.3.0
    • Component/s: Platforms: Windows
    • Labels:
      None
    • Environment:

      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes