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

Smart property merging

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes