[QBS] propagate compiler options

Andrii Anpilogov anpilog at gmail.com
Thu Jan 22 12:07:32 CET 2015


Could be...
But in by case there is no Module that rewrite it.

For example I have two nested Modules:

LowLevelModule.qbs:

Module {
  Depends { name: "cpp" }
  cpp.positionIndependentCode: false
}

HighLevelModule.qbs:

LowLevelModule {
  Depends { name: "cpp" }
}

Project.qbs:

Project {
  Product {
    Depends { name: "cpp" }
    Depends { name: "HighLevelModule"}
  }
}


In this case project will be compiled as positionIndependentCode=true.

There is no Module that overwrite value but define actual property.

Regards.

2015-01-22 17:21 GMT+08:00 Christian Kandeler <
christian.kandeler at theqtcompany.com>:

> On 01/21/2015 07:46 PM, Marcel Mulder wrote:
> > There is one tiny thing I do not understand. In my main product about I
> have the line:
> >
> >      cpp.executableSuffix:  ".out"
> >
> > If I have that line in de ccflags.qbs than the output file will be .a
> > instead of .out. So he is ignoring the line in de ccflags.qbs but all
> > other flags are used.
> > Something I do not comprehend.
>
> This is most likely due to https://bugreports.qt.io/browse/QBS-726.
>
>
> Christian
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>



-- 
-- 
WBR,
  Andrii Anpilogov
  Phone: +86 186-1660-3720
  Skype: anpilogov.andrey
  mailto:anpilog at gmail.com, andrii.anpilogov at mesheven.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150122/d612481c/attachment.html>


More information about the Qbs mailing list