Re: [Qbs] Including project files matching git submodules

2019-01-09 Thread Richard Weickelt
> But I have one more question: Is Project { references: [...] } the only way > to include other files, apart from defining new modules? Please specify "include other files". Did you want to say "include other .qbs files into a project"? If yes, then in addition to the 2 ways you mentioned, you

Re: [Qbs] Including project files matching git submodules

2019-01-04 Thread Björn Schäpers
Am 03.01.2019 um 22:36 schrieb Silvano Cerza: I think it should be enough to delete up.qbs and remove references: ["../up.qbs"] from lib2.qbs. Obviously if you export cpp.includePaths you must export a dependency to cpp. Il giorno gio 3 gen 2019 alle ore 22:17 Björn Schäpers

Re: [Qbs] Including project files matching git submodules

2019-01-04 Thread Björn Schäpers
Am 04.01.2019 um 10:21 schrieb Christian Kandeler: On Thu, 3 Jan 2019 22:14:09 +0100 Björn Schäpers wrote: I'm trying to build a repository for multiple libraries and applications, where every product is located in an own submodule. Right now I'm at this point: root/ - all.qbs - libs/ - l

Re: [Qbs] Including project files matching git submodules

2019-01-04 Thread Christian Kandeler
On Thu, 3 Jan 2019 22:14:09 +0100 Björn Schäpers wrote: > I'm trying to build a repository for multiple libraries and applications, > where > every product is located in an own submodule. Right now I'm at this point: > > root/ > - all.qbs > - libs/ >- libs.qbs >- up.qbs >- lib1/ >

Re: [Qbs] Including project files matching git submodules

2019-01-03 Thread Silvano Cerza
I think it should be enough to delete up.qbs and remove references: ["../up.qbs"] from lib2.qbs. Obviously if you export cpp.includePaths you must export a dependency to cpp. Il giorno gio 3 gen 2019 alle ore 22:17 Björn Schäpers < qt-maill...@hazardy.de> ha scritto: > Hi, > > I'm trying to build

[Qbs] Including project files matching git submodules

2019-01-03 Thread Björn Schäpers
Hi, I'm trying to build a repository for multiple libraries and applications, where every product is located in an own submodule. Right now I'm at this point: root/ - all.qbs - libs/ - libs.qbs - up.qbs - lib1/ - lib1.qbs - lib2/ - lib2.qbs Lib2 needs lib1. The file contents a