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

support command line argument transformation

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 0.3
    • Fix Version/s: some future version
    • Component/s: General
    • Labels:
      None

      Description

      qbs projects are highly configurable through the properties of the modules they use. however, users are used to configure scripts which offer a more "natural" and less overwhelming view on the the possible build options.
      to support such a use case, projects should be able to define transformer objects which take arguments from qbs' command line and transform them to properties, and add a short help text.
      qbs could then be invoked this way:

      # configure+build
      qbs --prefix=/opt/foobar --without-baz someproperty:value -- -ambiguous-option
      # get help for the aliases defined by the project (and qbs itself, more at the bottom)
      qbs -help
      

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            buddenha Oswald Buddenhagen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes