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

MSVC module overwrites build environment

    XMLWordPrintable

Details

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

    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

            kandeler Christian Kandeler
            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