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

MSVC module overwrites build environment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: General
    • Labels:
      None

      Description

      From windows-msvc.qbs:

          setupBuildEnvironment: {
              for (var key in buildEnv) {
                  var v = new ModUtils.EnvironmentVariable(key);
                  v.value = buildEnv[key];
                  v.set();
              }
          }
      

      As a result, all "appendable" variables such as PATH now contain only the values retrieved by the probe, while the original values are overwritten. These variables need to be merged instead.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes