[QBS] Does qbs plan to support cross-compiling?
Joerg Bornemann
joerg.bornemann at nokia.com
Mon Sep 10 12:33:24 CEST 2012
On 10/09/2012 08:39, ext Ruslan Nigmatullin wrote:
> What is canonical way to determine for what system we are building? i.e. both Maemo5 and MeeGo Harmattan are the same targetOS == "Linux", but I want to enable different set of features on them. Should I check toolchain or what?
> It's impossible to introduce new targetOS name as Maemo5/MeeGo/Tizen/etc are still Linux and I want all checks for it to work.
I think that qbs.targetOS should be "linux" only for desktop Linux and
Maemo5/MeeGo/Tizen must get other names. There must be something like a
platform capabilities like the unix scope in qmake, which is what you
need, if I understood you correctly.
Jörg
More information about the Qbs
mailing list