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

Add support for container Items (as children of Products, Projects, possibly others)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      Example:

      ---MyStuff.qbs---
      Item {
          property bool enableSecondGroup: false
          Group {
              files: ["file1.cpp"]
          }
          Group {
              condition: enableSecondGroup
              files: ["file2.cpp"]
          }
      }
      
      ---MyProduct.qbs---
      import MyStuff
      
      Application {
          name: "myapp"
          MyStuff {
              enableSecondGroup: true
          }
      }
      

      myapp now gets both groups that are defined in MyStuff.qbs

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

            Unassigned Unassigned
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes