[QBS] Does qbs plan to support cross-compiling?
oswald.buddenhagen at nokia.com
Mon Sep 10 12:39:30 CEST 2012
On Mon, Sep 10, 2012 at 12:33:24PM +0200, ext Joerg Bornemann wrote:
> 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.
no. it *is* linux. it just needs an additional designator, so the os
name needs to be hierarchical in some way.
we actually discussed that a while ago.
More information about the Qbs