[QBS] Using multiple toolchains in one build

Joerg Bornemann joerg.bornemann at digia.com
Thu Jun 5 10:14:18 CEST 2014


On 04-Jun-14 16:33, Johannes.Matokic at microchip.com wrote:

> we have a project which generates a WiX-based installer for library. We
> now want to include binaries of this library for different MSVC-runtimes.
>
> I want to avoid using external scripts for starting the different builds
> and the final assembly.
>
> So, is there a way to build the library with multiple compilers in one go?

Let msvc2010 and msvc2013 be the two profiles you've set up.
Then you can call qbs like this:
     qbs build release profile:msvc2010 release profile:msvc2013

The "build" command can be omitted.


BR,

Joerg



More information about the Qbs mailing list