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

Groups are not transitive if filesAreTargets is set to true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 2.3.1
    • None
    • All

      From Discord:

      Module {
      ...
          Group {
              prefix: "~/.conan2/p/b/conan05614b805a9ad/p/share"
              files: ["**/*"]
              fileTags: ["conan.resource","conan.artifact"]
              filesAreTargets: true // << note this
          }
      }
      // later
      CppAplication {
      ...
          Group {
              fileTagsFilter: "conan.resource"
              qbs.install: true
              qbs.installDir: "share"
          }
      }
      

      If filesAreTargets is false, the files are accessible in the second group.
      We also are able to access Rule's artefacts by their tags, so it seems consistent that files should be accessible via their tag reagrdless of the value of filesAreTargets
      See modules generated by Conan provider https://codereview.qt-project.org/c/qbs/qbs/+/336750

        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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes