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

it must be possible to override module properties from the command line

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None

      Description

      it must be possible configure/disable modules from the outside, so environment-specific adjustments can be conveniently done by the user. this is particularly important for probing modules, see QBS-24.

      suggested syntax:

      # tip off the probing module where to look for the library:
      qbs build modules.openssl.prefix:/usr/local/openssl-1.0.0g
      

      this mechanism could be used for disabling optional dependencies which are actually satisfied, too:

      qbs build modules.openssl.enabled:false
      

      and to take it further, one could disable specific dependencies in specific products only:

      qbs build products.hello.modules.openssl.enabled:false
      

      the simpler constructs would be good targets for the more familiar configure-like option style, see QBS-266.

        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:
              buddenha Oswald Buddenhagen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes