[Qbs] isystem with clang
Christian Gagneraud
chgans at gmail.com
Wed May 20 13:34:22 CEST 2020
On Wed, 20 May 2020 at 22:39, Christian Gagneraud <chgans at gmail.com> wrote:
> I understand the cons arguments, and i agree with that, this should be
> under user's control.
>
> A variation could be:
>
> property bool useSystemInclude = name === "Qt.core" ? false :
> Qt.core.useSystemInclude
> Properties {
> condition: useSystemInclude
> cpp.systemIncludePath: ...
> }
> Properties {
> condition: !useSystemInclude
> cpp.includePath: ...
> }
>
> Could it be as simple as that?
I've tried that on Qt.core (w/o name === "Qt.core"), and it works just fine.
Looks like another PR is awaiting me! :)
If people are willing to accept that.
Chris
More information about the Qbs
mailing list