[QBS] Export cpp.defines

Andrii Anpilogov anpilog at gmail.com
Sun Jun 28 07:08:19 CEST 2015


    Export {

        Depends { name: "cpp" }

                cpp.defines: base.concat(*["QWT_DLL"]*)

    }



2015-06-28 5:40 GMT+08:00 Stéphane Fabry <sf at xris.eu>:

>
> Hi,
>
> I just ran into  problem by upgrading to QtCreator 3.4.1  and Qt 5.4.2
>
> I have different libraries which exports some cpp defines this way:
>
>  Export {
>
>         Depends { name: "cpp" }
>
>         cpp.includePaths: "src"
>
>         cpp.defines: "QWT_DLL"
>
> }
>
> Then I have a product that depends on those libraries, and now depending on the order of the Depends statement in the product,
>  the defines of the first are hidden by the defines of the next one...
>
>
>
>
> Any suggestions, ideas ?
>
>
> Thanks !
>
>
>
>
> Stéphane
>
> _______________________________________________
> 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/20150628/c6bc4552/attachment.html>


More information about the Qbs mailing list