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

Attaching Module Properties to Groups within Modules is Undefined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.4.3
    • 1.4.2
    • Documentation
    • None
    • 319a81ac369e66744cd4e391af877588bbc60efc

    Description

      Consider a module with a nested group:

      import qbs 1.0
      
      Module {
          Depends { name : "cpp" }
          Group {
              prefix: path + "/"
              files : [
                  "file.cpp"
              ]
              cpp.optimization : "fast"
          }
      }
      
      

      It is not defined, if cpp module properties can be attached to a group within a module file. In fact, only properties of the product that loads the module are applied. cpp.optimization in the above example is ignored.
      Moreover, it could be replaced by any string and would not throw an error. I would expect similar behaviour in both products and modules.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              rweickelt Richard Weickelt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes