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

MSVC module overwrites build environment

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QBS-1038
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes