Re: [Qbs] Depending on a library that is both shared and static

2020-02-20 Thread Jochen Ulrich
Hi Uwe! I would probably create two products: one for the static library and one for the dynamic library and I would make the dynamic library depend on the static library: StaticLibrary { name: "mylibrary-static" targetName: "mylibrary" // ... } DynamicLibrary { name: "mylibrar

[Qbs] Depending on a library that is both shared and static

2020-02-20 Thread Uwe Salomon
Hello, I've got a question regarding better control of the "Depends" item when pulling a library that is built both shared and static. For library projects that are to be packaged for Debian or Ubuntu, I find it useful to set up the library's Product like this: DynamicLibrary { targetN