diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-06-28 14:32:52 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-06-28 17:09:01 +0200 |
commit | dc652cb34320bcc18b62b4b6c78db456ac539d93 (patch) | |
tree | edbc23ab5f04d6a3711cfdbfbb2eadfc85213222 /share/qbs/modules/cpp/msvc.js | |
parent | 8424f4bb44469e54bb6e7313ee2cc4d3bf72a9ad (diff) |
MSVC: respect cpp.compilerPath and cpp.compilerName
Change-Id: Ia87a6c502e8ebd1a3493e8c4409b7e9d081d204a
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'share/qbs/modules/cpp/msvc.js')
-rw-r--r-- | share/qbs/modules/cpp/msvc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/msvc.js b/share/qbs/modules/cpp/msvc.js index 5da695dc1..9e2b69a0e 100644 --- a/share/qbs/modules/cpp/msvc.js +++ b/share/qbs/modules/cpp/msvc.js @@ -92,7 +92,7 @@ function prepareCompiler(product, input, outputs, platformDefines, defines, incl args = args.concat(cFlags); } - var cmd = new Command("cl.exe", args) + var cmd = new Command(ModUtils.moduleProperty(product, "compilerPath"), args) cmd.description = (pchOutput ? 'pre' : '') + 'compiling ' + FileInfo.fileName(input.fileName) cmd.highlight = "compiler"; cmd.workingDirectory = FileInfo.path(objOutput.fileName) |