Qbs very easy and cool stuff. But, please, help me understand some qbs technics.
1) Imagine I have dir with some sources. With qmake I could create "include.pri" file in that dir with content:
INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
HEADERS += $$PWD/my_file.h
SOURCES += $$PWD/my_file.cpp
and then include it (and many others inc fiels) to ANY project just writing
include (some_path/include.pri)
in .pro (.pri) file.
What the analogue will be for qbs?
I know about Module item, but then any dir I want to include I need to put in "modules" dir. That is need for my main project can it see with qbsSearchPaths. And that wrapping every dir with "modules" will be some uncovient.
2) If then I would like to make static library on the base of this sources' dir, with qmake I could install public headers and lib file to some outer directory, available from any other project. But can I do this with qbs? I've came to conclusion that Group.install provides only paths relative to build dir, and does not some abstract (absolute) path. If so, what's the reason for it?