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

Smart property merging

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • None
    • All

      We can tweak the way properties are merged via PropertyOptions item.
      Several usecases:
      1. Remove duplicates from cpp.includePaths, cpp.defines
      2. Merge scalar bool values using OR/AND (e.g. 2 modules set bool hasFeature to different values)
      3. Select maximum/minimum for int values/versions.
      4. Smart selecting for e.g. cpp.cxxLanguageVersion.

      This can be achieved via some predefined algorithms or via a custom function. Maybe we can use the map/reduce idiom for properties?

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

            kandeler Christian Kandeler
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes