[QBS] what about path magic variable?

Dmitry Volosnykh dmitry.volosnykh at gmail.com
Thu Jan 8 10:37:50 CET 2015


Vladimir, you can use

Export {
    ...
    cpp.includePaths: ["."]
}

as a temporary workaround.

On Thu, Jan 8, 2015 at 12:23 PM, Christian Kandeler <
christian.kandeler at theqtcompany.com> wrote:

> On 01/08/2015 09:22 AM, Smirnov Vladimir wrote:
> > I have found such an example of Export Item:
> > (
> https://codereview.qt-project.org/#/c/103016/2/examples/app-and-lib/lib/lib.qbs
> )
> >
> > Export {
> >        Depends { name: "cpp" }
> >        cpp.includePaths: [path]
> > }
> >
> > What is a "path" magic? it does not appear in Product item or Export
> > item docs.
>
> "path" is the directory that the current project file is located in.
>
> > In Language introduction nothing too.
> > Where could I find info about it?
>
> It's not documented because it is a terrible name that needs to change.
> See https://bugreports.qt.io/browse/QBS-246.
>
>
> Christian
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150108/09396092/attachment.html>


More information about the Qbs mailing list