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

    • Icon: Suggestion Suggestion
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 1.2.0
    • General
    • None

      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.

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

            jbornema Joerg Bornemann
            buddenha Oswald Buddenhagen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes