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

Feed module providers with the list of modules to generate

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Dependency Tracking
    • None

      It is crucial for the "manual" provider to know in advance the list of missing modules - currently, all providers are "greedy" and generate all modules present in some authoritative source - e.g. list of .prf files known to qmake or list of .pc files known to pkg-config.
      For the manual provider, we don't have such a list in advance, but we can use only missing modules as such a list.
      In order to get the list, we need to do an extra pass over the project dependencies - first, we collect all deps that we could not find a module for, then we run providers and only then we load actual modules.
      This can be done by switching to BFS from DFS when traversing deps - that way, implementing multiple passes should be easier.
      This is also required in order to know which Packages we need to load - since providers are run only once, the extensive list of Packages should be passed to it

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes