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

Setting module property on Artifact causes warning message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.7.0
    • 1.7.0
    • General
    • None
    • d70a44607c142be32677fd8d2435c1e571c65b9f

    Description

      In the attached example I'm trying to set module properties on Artifact item.

      Artifact {
          filePath: input.fileName
          fileTags: ["out"]
          qbs.install: true
          cpp.defines: ["X"]
      }
      

      Build succeeds as expected and the file appears in "install-root" but QBS prints these warnings:

      Restoring build graph from disk
      Resolving project for configuration default
      WARNING: /home/kds/src/qbs_test/test.qbs:16:9 Item 'cpp' is not declared. Did you forget to add a Depends item?
      WARNING: /home/kds/src/qbs_test/test.qbs:16:9 Item 'qbs' is not declared. Did you forget to add a Depends item?
      Building for configuration default
      Build done for configuration default.
      

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            kds Denis Klychkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes